Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007261/0.000726, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005338/0.005338, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 443.3 MB / 0.7176 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 11.34 kB / 0.8797 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 155.2 MB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001229/0.3316, allocations: 0.9399 MB / 1.032 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.3324, allocations: 443.2 kB / 1.033 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.3324, allocations: 0 / 1.033 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.3325, allocations: 3.938 kB / 1.033 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.3325, allocations: 0 / 1.033 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.3329, allocations: 87.78 kB / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.3329, allocations: 12 kB / 1.033 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.333, allocations: 7.984 kB / 1.033 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.333, allocations: 15.92 kB / 1.033 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.3331, allocations: 11.98 kB / 1.033 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3331, allocations: 0 / 1.033 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3332, allocations: 95.84 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3333, allocations: 15.92 kB / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3333, allocations: 25.7 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3335, allocations: 91.81 kB / 1.033 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3335, allocations: 3.984 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3335, allocations: 0 / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3335, allocations: 0 / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003721/0.3339, allocations: 385.3 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3339, allocations: 12.03 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.334, allocations: 30.75 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.334, allocations: 12.84 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.3341, allocations: 164.4 kB / 1.034 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3341, allocations: 384 / 1.034 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3341, allocations: 4.375 kB / 1.034 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.3342, allocations: 38.25 kB / 1.034 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3343, allocations: 7.938 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3343, allocations: 4 kB / 1.034 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3343, allocations: 3.984 kB / 1.034 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.3343, allocations: 11.92 kB / 1.034 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.3346, allocations: 241 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.3347, allocations: 42.5 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.3347, allocations: 12.86 kB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.3347, allocations: 4 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.3349, allocations: 63.36 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3349, allocations: 0 / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001856/0.3351, allocations: 73.59 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3351, allocations: 51.41 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.3352, allocations: 105.8 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3352, allocations: 29.7 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.3352, allocations: 84.14 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3353, allocations: 19.81 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.3353, allocations: 13.72 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.3354, allocations: 314.8 kB / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3354, allocations: 11.98 kB / 1.035 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.3355, allocations: 35.38 kB / 1.035 GB, free: 500 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.3355, allocations: 51.42 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3355, allocations: 3.938 kB / 1.035 GB, free: 432 kB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001104/0.3357, allocations: 73.47 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3357, allocations: 4 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3357, allocations: 4 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3357, allocations: 0 / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.3358, allocations: 19.98 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.3358, allocations: 256 / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.3358, allocations: 4 kB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3358, allocations: 12 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.3359, allocations: 117.7 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3359, allocations: 4 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.3359, allocations: 7.844 kB / 1.035 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3359, allocations: 3.984 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3359, allocations: 0 / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3359, allocations: 7.984 kB / 1.035 GB, free: 152 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3362, allocations: 298.5 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3362, allocations: 0 / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.3362, allocations: 7.984 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3362, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.3363, allocations: 3.938 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3363, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3363, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3364, allocations: 163.5 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.3365, allocations: 85.09 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.3365, allocations: 0 / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.3365, allocations: 3.938 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.3365, allocations: 4 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3366, allocations: 0 / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.3366, allocations: 87.27 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3366, allocations: 0 / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002675/0.3369, allocations: 35.94 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006375/0.3375, allocations: 0.7645 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.3376, allocations: 39.86 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3376, allocations: 8.125 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.3377, allocations: 11.98 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.3379, allocations: 4 kB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.3389, allocations: 1.268 MB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3391, allocations: 0.6848 MB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.3392, allocations: 8.188 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.3392, allocations: 11.44 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.3392, allocations: 0 / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.3499, allocations: 1.785 MB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.3502, allocations: 241.9 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.262, allocations: 0 / 1.04 GB, free: 10.54 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y