Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.372/2.372, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 4 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/2.004e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001669/0.001689, allocations: 1.277 MB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.002421, allocations: 486.2 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.00245, allocations: 0 / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.428e-05/0.002525, allocations: 7.938 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.817e-05/0.002543, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.003024, allocations: 139.3 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.003088, allocations: 15.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.00312, allocations: 4 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.003159, allocations: 23.97 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/0.003182, allocations: 7.984 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.003194, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.00341, allocations: 151.6 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.003444, allocations: 19.88 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.003468, allocations: 19.91 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.003641, allocations: 151.5 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003643, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003644, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003647, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 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.0003412/0.003988, allocations: 354.8 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.00402, allocations: 8.625 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.004102, allocations: 12.92 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.004187, allocations: 125.6 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004201, allocations: 384 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004211, allocations: 4.375 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004314, allocations: 92.53 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004321, allocations: 192 / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004327, allocations: 4.359 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004332, allocations: 384 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.004356, allocations: 24.53 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.725e-05/0.004433, allocations: 87.66 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.004482, allocations: 42.52 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.004505, allocations: 32.89 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.00451, allocations: 0 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.181e-05/0.004602, allocations: 103.9 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 9.71e-07/0.004603, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0001911/0.004794, allocations: 213.9 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.004841, allocations: 83.33 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.004906, allocations: 130.6 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.004932, allocations: 53.69 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.004957, allocations: 84.78 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.005014, allocations: 95.33 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.005081, allocations: 85.59 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.005162, allocations: 342.7 kB / 0.8427 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.00521, allocations: 51.47 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.00528, allocations: 113.2 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.005433, allocations: 215 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.005436, allocations: 4 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002054/0.005642, allocations: 250.3 kB / 0.8433 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005654, allocations: 8 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.00566, allocations: 0 / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.005674, allocations: 4.047 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.005818, allocations: 71.89 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.005823, allocations: 4.156 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.005863, allocations: 39.67 kB / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.005875, allocations: 15.92 kB / 0.8434 GB, free: 9.07 MB / 0.8073 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 (y,$PRE.y,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 9.893e-05/0.005974, allocations: 160.6 kB / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.005984, allocations: 11.98 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.006007, allocations: 9.625 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006009, allocations: 0 / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.006011, allocations: 0 / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006015, allocations: 4 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.993e-05/0.006085, allocations: 85.67 kB / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006086, allocations: 0 / 0.8437 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.006097, allocations: 3.984 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006099, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-06/0.006103, allocations: 3.938 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.006105, allocations: 4 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006106, allocations: 4 kB / 0.8437 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.006239, allocations: 185.1 kB / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.006252, allocations: 23.77 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.006272, allocations: 16 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.006286, allocations: 7.984 kB / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.0063, allocations: 0 / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.006305, allocations: 4 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.542e-05/0.006321, allocations: 20.84 kB / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006321, allocations: 0 / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001889/0.006509, allocations: 51.92 kB / 0.844 GB, free: 8.438 MB / 0.8073 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,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 (4): * Single equations (assignments): 2 * 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.0003151/0.006825, allocations: 222.4 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.006985, allocations: 144.3 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.006989, allocations: 4 kB / 0.8443 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.00702, allocations: 45.09 kB / 0.8444 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.349e-05/0.007083, allocations: 7.938 kB / 0.8444 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.007332, allocations: 242.1 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.007369, allocations: 79.81 kB / 0.8447 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.007397, allocations: 12.64 kB / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.007433, allocations: 59.38 kB / 0.8448 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.007434, allocations: 4 kB / 0.8448 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of Templates: time 0.003463/0.0109, allocations: 1.961 MB / 0.8467 GB, free: 5.652 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.355267147999257]