Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0008622/0.0008622, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00083/0.00083, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8659/0.8659, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.662/1.662, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.141e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004496/0.004517, allocations: 4.68 MB / 0.9867 GB, free: 13.41 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5643/0.5688, allocations: 132.8 MB / 1.116 GB, free: 20.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.5695, allocations: 21 kB / 1.116 GB, free: 20.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.57, allocations: 208.5 kB / 1.117 GB, free: 20.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.5713, allocations: 0.6003 MB / 1.117 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.5727, allocations: 0.8757 MB / 1.118 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.5738, allocations: 1.516 MB / 1.12 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.5743, allocations: 410.6 kB / 1.12 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.575, allocations: 0.7634 MB / 1.121 GB, free: 17.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.5754, allocations: 426.1 kB / 1.121 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.5755, allocations: 125.8 kB / 1.121 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.5761, allocations: 0.496 MB / 1.122 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5763, allocations: 323 kB / 1.122 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.5766, allocations: 409.6 kB / 1.122 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.5781, allocations: 1.838 MB / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5781, allocations: 0 / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5781, allocations: 0 / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.5781, allocations: 1.312 kB / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00165/0.5798, allocations: 1.464 MB / 1.126 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5798, allocations: 7.812 kB / 1.126 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007616/0.5806, allocations: 236.3 kB / 1.126 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008837/0.5815, allocations: 0.7354 MB / 1.127 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.5815, allocations: 76.83 kB / 1.127 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.5816, allocations: 98.14 kB / 1.127 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5827, allocations: 1.212 MB / 1.128 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5827, allocations: 1.125 kB / 1.128 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.5828, allocations: 38.3 kB / 1.128 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5828, allocations: 22.34 kB / 1.128 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.5841, allocations: 1.078 MB / 1.129 GB, free: 13.87 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.5868, allocations: 2.263 MB / 1.131 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5878, allocations: 0.8179 MB / 1.132 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.5882, allocations: 306.3 kB / 1.132 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.5882, allocations: 22.27 kB / 1.132 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006237/0.5889, allocations: 0.6097 MB / 1.133 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 2.856e-06/0.5889, allocations: 0 / 1.133 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.00196/0.5908, allocations: 1.189 MB / 1.134 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.5909, allocations: 195.9 kB / 1.134 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.5914, allocations: 0.6233 MB / 1.135 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.5915, allocations: 49.88 kB / 1.135 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5917, allocations: 417.3 kB / 1.135 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5918, allocations: 304 kB / 1.136 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.592, allocations: 182.2 kB / 1.136 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.5921, allocations: 391.2 kB / 1.136 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.5925, allocations: 304 kB / 1.136 GB, free: 9.688 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.593, allocations: 0.5148 MB / 1.137 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.5937, allocations: 0.6614 MB / 1.138 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5937, allocations: 3.938 kB / 1.138 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001225/0.595, allocations: 0.9274 MB / 1.139 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.595, allocations: 6.125 kB / 1.139 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.595, allocations: 1.281 kB / 1.139 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.5953, allocations: 84.56 kB / 1.139 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.5957, allocations: 178.3 kB / 1.139 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.5968, allocations: 1.498 MB / 1.14 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.5972, allocations: 100.3 kB / 1.14 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.5973, allocations: 42.05 kB / 1.14 GB, free: 7.219 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.5976, allocations: 276.3 kB / 1.141 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5977, allocations: 88.52 kB / 1.141 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.5991, allocations: 1.097 MB / 1.142 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5991, allocations: 10 kB / 1.142 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5991, allocations: 3.828 kB / 1.142 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5991, allocations: 6.078 kB / 1.142 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.6013, allocations: 1.929 MB / 1.144 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6013, allocations: 4.594 kB / 1.144 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.6017, allocations: 158.8 kB / 1.144 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.6019, allocations: 74.31 kB / 1.144 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.6019, allocations: 26.28 kB / 1.144 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008762/0.6028, allocations: 1.516 MB / 1.145 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6028, allocations: 0 / 1.145 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6045, allocations: 1.459 MB / 1.147 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.6048, allocations: 212 kB / 1.147 GB, free: 3.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.6048, allocations: 27.64 kB / 1.147 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.6052, allocations: 65.2 kB / 1.147 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6053, allocations: 79.48 kB / 1.147 GB, free: 3.359 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.6053, allocations: 33.62 kB / 1.147 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003792/0.6057, allocations: 449.3 kB / 1.148 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6057, allocations: 7.938 kB / 1.148 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000783/0.6065, allocations: 346.2 kB / 1.148 GB, free: 3.055 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.6076, allocations: 0.6567 MB / 1.149 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.6088, allocations: 0.8529 MB / 1.15 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6088, allocations: 1.531 kB / 1.15 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.6094, allocations: 0.5152 MB / 1.15 GB, free: 2.195 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.6102, allocations: 296 kB / 1.15 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.6126, allocations: 1.833 MB / 1.152 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.6131, allocations: 457.3 kB / 1.153 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.6133, allocations: 127 kB / 1.153 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.6133, allocations: 1.344 kB / 1.153 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of Templates: time 0.02322/0.6365, allocations: 19.72 MB / 1.172 GB, free: 12.39 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 9.870841990225017]