Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001439/0.001439, 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.001688/0.001688, 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.009/1.009, 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.496/2.496, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.641e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002275/0.002302, allocations: 1.325 MB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.003081, allocations: 462.3 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.003114, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.627e-05/0.003201, allocations: 3.938 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.003229, allocations: 3.938 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.003666, allocations: 115.5 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.477e-05/0.003741, allocations: 27.91 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.003777, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.003823, allocations: 19.92 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.003851, allocations: 11.97 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.003863, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.004105, allocations: 155.6 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.004139, allocations: 19.94 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.00416, allocations: 11.92 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.00446, allocations: 155.4 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004462, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004462, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004466, allocations: 0 / 0.8408 GB, free: 11.92 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000347/0.004813, allocations: 358.8 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.004849, allocations: 12.62 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.004927, allocations: 4.938 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.005027, allocations: 121.6 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.005045, allocations: 4.375 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-06/0.005054, allocations: 4.375 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005168, allocations: 91.47 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.005179, allocations: 16.12 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.005188, allocations: 4.375 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.005193, allocations: 384 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.005218, allocations: 23.94 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.262e-05/0.005311, allocations: 83.64 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.00537, allocations: 42.56 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.005398, allocations: 28.86 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.005404, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.005518, allocations: 108.2 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=38): time 1.252e-06/0.005519, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38): time 0.0002107/0.00573, allocations: 218.6 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.005782, allocations: 87.31 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.005846, allocations: 134.6 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.00587, allocations: 45.69 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.005895, allocations: 84.8 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.005967, allocations: 99.27 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.006035, allocations: 89.61 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.006121, allocations: 338.7 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.006171, allocations: 55.47 kB / 0.8428 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.006249, allocations: 122.1 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.006407, allocations: 215.8 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006409, allocations: 0 / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000235/0.006644, allocations: 270.4 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.006659, allocations: 4 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.006667, allocations: 7.984 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.006684, allocations: 4 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.006847, allocations: 71.89 kB / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.006852, allocations: 4 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.006895, allocations: 39.67 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.006909, allocations: 11.92 kB / 0.8435 GB, free: 8.953 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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.0001149/0.007023, allocations: 172.6 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.007032, allocations: 4 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.007055, allocations: 9.625 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007056, allocations: 0 / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007059, allocations: 7.938 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007062, allocations: 0 / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.007135, allocations: 89.59 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007136, allocations: 4 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.007148, allocations: 4 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007149, allocations: 0 / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.007153, allocations: 320 / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007154, allocations: 0 / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007156, allocations: 4 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.007307, allocations: 198.2 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.007321, allocations: 19.84 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.007342, allocations: 19.98 kB / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.007353, allocations: 0 / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.007369, allocations: 4 kB / 0.844 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.007374, allocations: 4 kB / 0.844 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.007391, allocations: 20.78 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007391, allocations: 0 / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001744/0.007565, allocations: 47.94 kB / 0.8441 GB, free: 8.309 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 (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.0005978/0.008163, allocations: 225.7 kB / 0.8443 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.008341, allocations: 148.1 kB / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.008344, allocations: 0 / 0.8444 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.008378, allocations: 44.83 kB / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.368e-05/0.008451, allocations: 11.94 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.008732, allocations: 254.2 kB / 0.8447 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.008771, allocations: 76.33 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.008803, allocations: 13.14 kB / 0.8448 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.008854, allocations: 63.38 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.008854, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of Templates: time 0.004109/0.01296, allocations: 1.933 MB / 0.8468 GB, free: 5.531 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.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.508071251679212]