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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.22 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 173.9 MB / 1.304 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002583/0.3685, allocations: 1.223 MB / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3696, allocations: 439 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.3696, allocations: 0 / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/0.3697, allocations: 7.875 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.702e-05/0.3698, allocations: 11.88 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.3703, allocations: 107.6 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.3704, allocations: 15.98 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3705, allocations: 0 / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.3705, allocations: 11.98 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.3705, allocations: 15.92 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3705, allocations: 0 / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.3708, allocations: 107.8 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.3708, allocations: 23.92 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3709, allocations: 27.69 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3711, allocations: 147.6 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3712, allocations: 0 / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.564e-06/0.3712, allocations: 0 / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3712, allocations: 0 / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005851/0.3717, allocations: 449.4 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3718, allocations: 12.62 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.133e-05/0.3719, allocations: 42.73 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.888e-05/0.372, allocations: 20.83 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3721, allocations: 172.3 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3722, allocations: 8.375 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3722, allocations: 384 / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3724, allocations: 146.2 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3724, allocations: 3.938 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3724, allocations: 0 / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3724, allocations: 4 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.08e-05/0.3725, allocations: 63.73 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.3729, allocations: 284.7 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3731, allocations: 98.47 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.3732, allocations: 69.53 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3732, allocations: 4 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.3735, allocations: 175.1 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=38): time 1.393e-06/0.3735, allocations: 3.938 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.0007085/0.3742, allocations: 496.5 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.3742, allocations: 91.36 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3744, allocations: 117.8 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.3744, allocations: 49.67 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3745, allocations: 88.8 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3746, allocations: 99.25 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3747, allocations: 93.67 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3748, allocations: 334.8 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.375, allocations: 148.6 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.3753, allocations: 217 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.3758, allocations: 411.7 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3758, allocations: 3.938 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006243/0.3764, allocations: 440.8 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3765, allocations: 8 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.3765, allocations: 320 / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3765, allocations: 4 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3766, allocations: 19.92 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3766, allocations: 4.125 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.3767, allocations: 39.67 kB / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.3767, allocations: 15.98 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$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 (42): * Single equations (assignments): 41 * Array equations: 1 * 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 0.0002007/0.3769, allocations: 185.7 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.3769, allocations: 19.84 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.377, allocations: 5.219 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.377, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.377, allocations: 4 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.377, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.3777, allocations: 0.6316 MB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3777, allocations: 0 / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.3777, allocations: 8 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3777, allocations: 0 / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3778, allocations: 4 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3778, allocations: 4 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3778, allocations: 3.984 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.3783, allocations: 482.8 kB / 1.311 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.3784, allocations: 92.94 kB / 1.311 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.3785, allocations: 27.92 kB / 1.311 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.3785, allocations: 4 kB / 1.311 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3785, allocations: 7.984 kB / 1.311 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3786, allocations: 4 kB / 1.311 GB, free: 9.449 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.3786, allocations: 79.28 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3786, allocations: 0 / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003589/0.379, allocations: 59.86 kB / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * 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.001599/0.3806, allocations: 1.226 MB / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.381, allocations: 268.9 kB / 1.313 GB, free: 7.812 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.381, allocations: 4 kB / 1.313 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.3811, allocations: 75.72 kB / 1.313 GB, free: 7.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3813, allocations: 12.25 kB / 1.313 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.3843, allocations: 2.5 MB / 1.316 GB, free: 5.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.3847, allocations: 0.7205 MB / 1.316 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.3847, allocations: 17.08 kB / 1.316 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.3848, allocations: 35.44 kB / 1.316 GB, free: 4.312 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3848, allocations: 0 / 1.316 GB, free: 4.312 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.4112, allocations: 3.181 MB / 1.319 GB, free: 1.234 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.45, allocations: 4.062 kB / 1.319 GB, free: 1.23 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,globalSeed,localSeed,time,x,y [Calling sys.exit(0), Time elapsed: 15.033976973034441]