Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001822/0.001822, allocations: 107.6 kB / 16.45 MB, free: 6.398 MB / 14.72 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.002345/0.002345, allocations: 214.4 kB / 19.43 MB, free: 3.727 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.4899 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 69.19 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3804, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2172/0.5976, allocations: 169.5 MB / 1.487 GB, free: 8.598 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.6125, allocations: 7.94 MB / 1.495 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.6144, allocations: 43.69 kB / 1.495 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.6158, allocations: 412.9 kB / 1.495 GB, free: 184 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.6203, allocations: 1.367 MB / 1.496 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.6235, allocations: 1.189 MB / 1.498 GB, free: 13.63 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.6269, allocations: 2.375 MB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.6285, allocations: 0.9911 MB / 1.501 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.6299, allocations: 0.8992 MB / 1.502 GB, free: 9.332 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.6316, allocations: 0.8156 MB / 1.502 GB, free: 8.516 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.6318, allocations: 159.9 kB / 1.503 GB, free: 8.359 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.6343, allocations: 1.193 MB / 1.504 GB, free: 7.164 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.6347, allocations: 442.6 kB / 1.504 GB, free: 6.73 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008283/0.6355, allocations: 0.789 MB / 1.505 GB, free: 5.938 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.6393, allocations: 2.46 MB / 1.507 GB, free: 3.469 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6393, allocations: 0 / 1.507 GB, free: 3.469 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6393, allocations: 0 / 1.507 GB, free: 3.469 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.988e-05/0.6393, allocations: 3.938 kB / 1.507 GB, free: 3.465 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003908/0.6432, allocations: 1.953 MB / 1.509 GB, free: 1.453 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.6433, allocations: 15.98 kB / 1.509 GB, free: 1.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.646, allocations: 378.6 kB / 1.51 GB, free: 1.066 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.6481, allocations: 1.039 MB / 1.511 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6482, allocations: 94.19 kB / 1.511 GB, free: 15.89 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.6484, allocations: 108 kB / 1.511 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.6508, allocations: 1.172 MB / 1.512 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.6508, allocations: 0 / 1.512 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.6509, allocations: 48 kB / 1.512 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.651, allocations: 42.06 kB / 1.512 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.6533, allocations: 1.312 MB / 1.513 GB, free: 13.13 MB / 1.217 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.006187/0.6595, allocations: 3.895 MB / 1.517 GB, free: 9.008 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.6614, allocations: 0.946 MB / 1.518 GB, free: 8.055 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/0.6622, allocations: 372.3 kB / 1.518 GB, free: 7.688 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.6623, allocations: 29.03 kB / 1.519 GB, free: 7.66 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.6635, allocations: 0.5904 MB / 1.519 GB, free: 7.055 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 5.079e-06/0.6635, allocations: 7.984 kB / 1.519 GB, free: 7.047 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.00405/0.6675, allocations: 1.443 MB / 1.521 GB, free: 5.574 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.6677, allocations: 196.9 kB / 1.521 GB, free: 5.34 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.669, allocations: 0.8583 MB / 1.522 GB, free: 4.457 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.6691, allocations: 49.7 kB / 1.522 GB, free: 4.402 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.6696, allocations: 0.5285 MB / 1.522 GB, free: 3.867 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.67, allocations: 368.9 kB / 1.522 GB, free: 3.504 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.6704, allocations: 198.6 kB / 1.523 GB, free: 3.305 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6706, allocations: 345.9 kB / 1.523 GB, free: 2.961 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.6713, allocations: 333.8 kB / 1.523 GB, free: 2.633 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.6722, allocations: 476.2 kB / 1.524 GB, free: 2.137 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.6737, allocations: 0.8049 MB / 1.525 GB, free: 1.301 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6737, allocations: 0 / 1.525 GB, free: 1.301 MB / 1.217 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002585/0.6763, allocations: 1.087 MB / 1.526 GB, free: 208 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6763, allocations: 5.875 kB / 1.526 GB, free: 204 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.6763, allocations: 4 kB / 1.526 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.677, allocations: 88.98 kB / 1.526 GB, free: 108 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.6779, allocations: 219.6 kB / 1.526 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.6803, allocations: 1.626 MB / 1.527 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6814, allocations: 111.3 kB / 1.528 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.6815, allocations: 43.97 kB / 1.528 GB, free: 13.96 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (124): * Single equations (assignments): 123 * 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.0005932/0.6821, allocations: 331.5 kB / 1.528 GB, free: 13.63 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6823, allocations: 123.2 kB / 1.528 GB, free: 13.51 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.6852, allocations: 1.248 MB / 1.529 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6852, allocations: 12 kB / 1.529 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6852, allocations: 0 / 1.529 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6852, allocations: 3.984 kB / 1.529 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.6869, allocations: 1.177 MB / 1.53 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6869, allocations: 0 / 1.53 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.6878, allocations: 203.8 kB / 1.531 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.6883, allocations: 76.78 kB / 1.531 GB, free: 10.73 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.6884, allocations: 31.97 kB / 1.531 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6904, allocations: 1.65 MB / 1.532 GB, free: 8.898 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6904, allocations: 7.922 kB / 1.532 GB, free: 8.891 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6938, allocations: 1.579 MB / 1.534 GB, free: 7.293 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006316/0.6945, allocations: 331.9 kB / 1.534 GB, free: 6.949 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.6946, allocations: 31.98 kB / 1.534 GB, free: 6.918 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/0.6955, allocations: 70.25 kB / 1.534 GB, free: 6.852 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.6957, allocations: 84.88 kB / 1.534 GB, free: 6.766 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6958, allocations: 43.97 kB / 1.534 GB, free: 6.723 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009802/0.6968, allocations: 0.5942 MB / 1.535 GB, free: 6.117 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6968, allocations: 3.938 kB / 1.535 GB, free: 6.113 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001311/0.6981, allocations: 443 kB / 1.535 GB, free: 5.68 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002214/0.7003, allocations: 0.632 MB / 1.536 GB, free: 5.223 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.7026, allocations: 0.9527 MB / 1.537 GB, free: 4.262 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7026, allocations: 64 / 1.537 GB, free: 4.262 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.7038, allocations: 0.5704 MB / 1.538 GB, free: 3.676 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.7059, allocations: 487.5 kB / 1.538 GB, free: 3.219 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.7108, allocations: 2.497 MB / 1.54 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.7117, allocations: 1.154 MB / 1.542 GB, free: 15.5 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00116/0.7129, allocations: 329.3 kB / 1.542 GB, free: 15.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.7132, allocations: 127.4 kB / 1.542 GB, free: 15.05 MB / 1.248 GB Notification: Performance of SimCode: time 1.242e-06/0.7132, allocations: 0 / 1.542 GB, free: 15.05 MB / 1.248 GB Notification: Performance of Templates: time 0.04169/0.7549, allocations: 21.41 MB / 1.563 GB, free: 9.891 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 10.179734273348004]