Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.231/1.316, allocations: 166.8 MB / 1.435 GB, free: 11.39 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01586/1.332, allocations: 7.949 MB / 1.443 GB, free: 4.977 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/1.334, allocations: 34.72 kB / 1.443 GB, free: 4.965 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/1.336, allocations: 413.2 kB / 1.443 GB, free: 4.617 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/1.342, allocations: 1.35 MB / 1.444 GB, free: 3.586 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/1.345, allocations: 1.199 MB / 1.446 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004256/1.35, allocations: 2.363 MB / 1.448 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/1.351, allocations: 0.9676 MB / 1.449 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/1.353, allocations: 0.8291 MB / 1.45 GB, free: 14.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.355, allocations: 0.8138 MB / 1.45 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/1.355, allocations: 148 kB / 1.451 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/1.358, allocations: 1.162 MB / 1.452 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006662/1.358, allocations: 438.5 kB / 1.452 GB, free: 12.19 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009894/1.359, allocations: 0.7929 MB / 1.453 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004411/1.364, allocations: 2.413 MB / 1.455 GB, free: 8.973 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.364, allocations: 0 / 1.455 GB, free: 8.973 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.62e-07/1.364, allocations: 0 / 1.455 GB, free: 8.973 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.188e-05/1.364, allocations: 0 / 1.455 GB, free: 8.973 MB / 1.139 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.003748/1.368, allocations: 1.927 MB / 1.457 GB, free: 6.984 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.368, allocations: 12.03 kB / 1.457 GB, free: 6.973 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/1.37, allocations: 338.7 kB / 1.457 GB, free: 6.641 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/1.371, allocations: 1.027 MB / 1.458 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/1.372, allocations: 82.2 kB / 1.458 GB, free: 5.484 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.372, allocations: 108 kB / 1.459 GB, free: 5.379 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/1.374, allocations: 1.172 MB / 1.46 GB, free: 4.137 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/1.374, allocations: 0 / 1.46 GB, free: 4.137 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.374, allocations: 48 kB / 1.46 GB, free: 4.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/1.374, allocations: 42.06 kB / 1.46 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.376, allocations: 1.312 MB / 1.461 GB, free: 2.727 MB / 1.139 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.006256/1.383, allocations: 3.812 MB / 1.465 GB, free: 14.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.384, allocations: 0.9389 MB / 1.466 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/1.385, allocations: 373.2 kB / 1.466 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/1.385, allocations: 37.02 kB / 1.466 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/1.386, allocations: 0.5903 MB / 1.467 GB, free: 12.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 2.605e-06/1.386, allocations: 4 kB / 1.467 GB, free: 12.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.003969/1.39, allocations: 1.447 MB / 1.468 GB, free: 11.28 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.39, allocations: 192.9 kB / 1.468 GB, free: 11.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.392, allocations: 0.8415 MB / 1.469 GB, free: 10.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/1.392, allocations: 41.7 kB / 1.469 GB, free: 10.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/1.392, allocations: 0.5324 MB / 1.47 GB, free: 9.598 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/1.393, allocations: 353 kB / 1.47 GB, free: 9.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/1.393, allocations: 206.5 kB / 1.47 GB, free: 9.039 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.393, allocations: 341.9 kB / 1.471 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/1.394, allocations: 333.8 kB / 1.471 GB, free: 8.375 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/1.395, allocations: 480.2 kB / 1.471 GB, free: 7.875 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/1.396, allocations: 0.8048 MB / 1.472 GB, free: 7.039 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.396, allocations: 0 / 1.472 GB, free: 7.039 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00255/1.399, allocations: 1.079 MB / 1.473 GB, free: 5.949 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.399, allocations: 4 kB / 1.473 GB, free: 5.945 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.399, allocations: 4 kB / 1.473 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/1.399, allocations: 92.91 kB / 1.473 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/1.4, allocations: 223.6 kB / 1.473 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.403, allocations: 1.626 MB / 1.475 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.404, allocations: 115.4 kB / 1.475 GB, free: 3.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/1.404, allocations: 43.97 kB / 1.475 GB, free: 3.699 MB / 1.154 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.0006812/1.405, allocations: 327.4 kB / 1.476 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/1.405, allocations: 119.2 kB / 1.476 GB, free: 3.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/1.408, allocations: 1.244 MB / 1.477 GB, free: 1.992 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.408, allocations: 12 kB / 1.477 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.408, allocations: 3.938 kB / 1.477 GB, free: 1.977 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.408, allocations: 3.984 kB / 1.477 GB, free: 1.973 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/1.41, allocations: 1.169 MB / 1.478 GB, free: 0.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.41, allocations: 0 / 1.478 GB, free: 0.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/1.411, allocations: 199.8 kB / 1.478 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/1.411, allocations: 76.78 kB / 1.478 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/1.411, allocations: 27.98 kB / 1.478 GB, free: 460 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.413, allocations: 1.658 MB / 1.48 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.413, allocations: 8 kB / 1.48 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/1.417, allocations: 1.574 MB / 1.481 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/1.417, allocations: 331.9 kB / 1.482 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/1.418, allocations: 20 kB / 1.482 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/1.418, allocations: 72.67 kB / 1.482 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/1.419, allocations: 80.95 kB / 1.482 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/1.419, allocations: 51.91 kB / 1.482 GB, free: 12.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008865/1.42, allocations: 0.578 MB / 1.483 GB, free: 11.89 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.42, allocations: 0 / 1.483 GB, free: 11.89 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001169/1.421, allocations: 439 kB / 1.483 GB, free: 11.46 MB / 1.17 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.00205/1.423, allocations: 0.6197 MB / 1.484 GB, free: 11.01 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.425, allocations: 0.9643 MB / 1.485 GB, free: 10.03 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.425, allocations: 0 / 1.485 GB, free: 10.03 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.426, allocations: 0.5626 MB / 1.485 GB, free: 9.461 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.428, allocations: 496.5 kB / 1.486 GB, free: 9 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/1.433, allocations: 2.486 MB / 1.488 GB, free: 6.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/1.434, allocations: 1.161 MB / 1.489 GB, free: 5.293 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001187/1.435, allocations: 325.1 kB / 1.489 GB, free: 4.973 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/1.435, allocations: 127.4 kB / 1.49 GB, free: 4.848 MB / 1.17 GB Notification: Performance of SimCode: time 1.102e-06/1.435, allocations: 4 kB / 1.49 GB, free: 4.844 MB / 1.17 GB Notification: Performance of Templates: time 0.03922/1.474, allocations: 21.48 MB / 1.511 GB, free: 15.61 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.389720640145242]