Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001827/0.001827, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002289/0.002289, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.211/3.211, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.239e-05, allocations: 2.875 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00255/0.002583, allocations: 1.241 MB / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.003498, allocations: 368.8 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.003522, allocations: 1.203 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.745e-05/0.00361, allocations: 4.938 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.372e-05/0.003623, allocations: 0 / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.004117, allocations: 106.2 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.004187, allocations: 21.02 kB / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.004222, allocations: 7.984 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.004258, allocations: 8.984 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.459e-05/0.004283, allocations: 4 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004296, allocations: 0 / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.004581, allocations: 128.8 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.004627, allocations: 23.92 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.004663, allocations: 15.86 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004908, allocations: 120.7 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00491, allocations: 0 / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004911, allocations: 0 / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004915, allocations: 5.094 kB / 0.8795 GB, free: 4.484 MB / 0.8386 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.0005753/0.00549, allocations: 360.4 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.005532, allocations: 12.75 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.005636, allocations: 8.891 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005779, allocations: 120.9 kB / 0.88 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.005799, allocations: 384 / 0.88 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.005813, allocations: 4.375 kB / 0.88 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.006033, allocations: 147.1 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006042, allocations: 192 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.006051, allocations: 384 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.006055, allocations: 384 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.006148, allocations: 71.84 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.006331, allocations: 125 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.006464, allocations: 79.86 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/0.006555, allocations: 64.89 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.006566, allocations: 1.562 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.006837, allocations: 175.3 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.172e-06/0.006838, allocations: 0 / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006499/0.007488, allocations: 411.4 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.007574, allocations: 91.31 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.007687, allocations: 117.7 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.007745, allocations: 49.69 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.007805, allocations: 88.73 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.007915, allocations: 92.5 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.008037, allocations: 89.69 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.008242, allocations: 330.8 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.008455, allocations: 150.2 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.008747, allocations: 205.3 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.009314, allocations: 409.2 kB / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.00932, allocations: 4 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007906/0.01011, allocations: 458.4 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01012, allocations: 4 kB / 0.8831 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01013, allocations: 0 / 0.8831 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.01015, allocations: 4 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01026, allocations: 24.08 kB / 0.8831 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01027, allocations: 3.938 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.01035, allocations: 39.67 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.01037, allocations: 8 kB / 0.8831 GB, free: 0.6094 MB / 0.8386 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 0.0001998/0.01057, allocations: 181.7 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01059, allocations: 11.91 kB / 0.8833 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.01061, allocations: 5.312 kB / 0.8833 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01061, allocations: 7.938 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01062, allocations: 0 / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01062, allocations: 4.172 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01076, allocations: 124.9 kB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01076, allocations: 0 / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.01077, allocations: 0 / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01078, allocations: 3.984 kB / 0.8835 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01079, allocations: 11.94 kB / 0.8835 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01079, allocations: 4 kB / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01079, allocations: 0 / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.01127, allocations: 335.3 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01129, allocations: 15.84 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.01133, allocations: 23.98 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.01135, allocations: 4 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.01137, allocations: 7.984 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.01138, allocations: 0 / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.01144, allocations: 87.16 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01144, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002862/0.01172, allocations: 47.94 kB / 0.884 GB, free: 15.7 MB / 0.8542 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.0004734/0.0122, allocations: 214.7 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.01261, allocations: 265.2 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01261, allocations: 4.062 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.01271, allocations: 75.97 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01286, allocations: 5.875 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.01334, allocations: 287.6 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01346, allocations: 101.3 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.0135, allocations: 16.64 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.01353, allocations: 16.5 kB / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01353, allocations: 0 / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.005016/0.01855, allocations: 1.579 MB / 0.8865 GB, free: 13.13 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.246787628042512]