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.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.001413/0.001413, allocations: 81.42 kB / 19.18 MB, free: 2.531 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.001496/0.001496, allocations: 168.6 kB / 22.46 MB, free: 5.355 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.685/2.685, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.343e-06/1.343e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.561e-05, allocations: 4.812 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1846/0.1846, allocations: 146.3 MB / 1.094 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.1976, allocations: 7.533 MB / 1.101 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1987, allocations: 43.69 kB / 1.101 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.2, allocations: 404.8 kB / 1.102 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5523/0.7523, allocations: 1.405 MB / 1.103 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.7557, allocations: 1.234 MB / 1.104 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.7597, allocations: 2.474 MB / 1.107 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.7617, allocations: 0.9733 MB / 1.108 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.7641, allocations: 1.216 MB / 1.109 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.7658, allocations: 0.6643 MB / 1.109 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.7662, allocations: 158.8 kB / 1.11 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.769, allocations: 1.04 MB / 1.111 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.7696, allocations: 463.5 kB / 1.111 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.7705, allocations: 0.5424 MB / 1.112 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.7758, allocations: 2.592 MB / 1.114 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7758, allocations: 0.5625 kB / 1.114 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7758, allocations: 0 / 1.114 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.373e-05/0.7759, allocations: 3.875 kB / 1.114 GB, free: 12.55 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004731/0.7806, allocations: 1.89 MB / 1.116 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7807, allocations: 9.781 kB / 1.116 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.7835, allocations: 372.8 kB / 1.116 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.7855, allocations: 0.9686 MB / 1.117 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.7856, allocations: 91.89 kB / 1.117 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.7858, allocations: 115.8 kB / 1.117 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.7885, allocations: 1.547 MB / 1.119 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.7885, allocations: 2.094 kB / 1.119 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.7886, allocations: 54.23 kB / 1.119 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.7887, allocations: 39.72 kB / 1.119 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.791, allocations: 1.267 MB / 1.12 GB, free: 10.57 MB / 0.9981 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.006277/0.7973, allocations: 2.9 MB / 1.123 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.7994, allocations: 0.9924 MB / 1.124 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.8001, allocations: 386.5 kB / 1.124 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.506e-05/0.8002, allocations: 31.34 kB / 1.124 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.8015, allocations: 0.8099 MB / 1.125 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/0.8015, allocations: 0 / 1.125 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.004093/0.8056, allocations: 1.407 MB / 1.127 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.8056, allocations: 207.7 kB / 1.127 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8069, allocations: 0.8106 MB / 1.128 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.807, allocations: 55.16 kB / 1.128 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.8075, allocations: 0.5363 MB / 1.128 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.8077, allocations: 373.6 kB / 1.129 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.8081, allocations: 222.5 kB / 1.129 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.8082, allocations: 351.1 kB / 1.129 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.8089, allocations: 364.6 kB / 1.129 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.8097, allocations: 0.624 MB / 1.13 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.8111, allocations: 0.8431 MB / 1.131 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8112, allocations: 4.266 kB / 1.131 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002625/0.8138, allocations: 1.151 MB / 1.132 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.8138, allocations: 13.33 kB / 1.132 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8138, allocations: 2.562 kB / 1.132 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.8145, allocations: 87.17 kB / 1.132 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/0.8154, allocations: 223.6 kB / 1.132 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.8172, allocations: 1.508 MB / 1.134 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.8185, allocations: 109.5 kB / 1.134 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8186, allocations: 48.48 kB / 1.134 GB, free: 6.258 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0006615/0.8192, allocations: 341.9 kB / 1.134 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.8195, allocations: 119.1 kB / 1.134 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.8223, allocations: 1.277 MB / 1.136 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.8223, allocations: 16.28 kB / 1.136 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8223, allocations: 1.562 kB / 1.136 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.8223, allocations: 6.875 kB / 1.136 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.8268, allocations: 2.272 MB / 1.138 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8268, allocations: 1.5 kB / 1.138 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.8277, allocations: 212.1 kB / 1.138 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/0.8282, allocations: 76.95 kB / 1.138 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.8282, allocations: 33 kB / 1.138 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.8299, allocations: 1.524 MB / 1.14 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8299, allocations: 1.344 kB / 1.14 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.8332, allocations: 1.698 MB / 1.141 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.8339, allocations: 250.2 kB / 1.142 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.8341, allocations: 26.52 kB / 1.142 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.835, allocations: 76.81 kB / 1.142 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.8354, allocations: 93.47 kB / 1.142 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.8355, allocations: 42.8 kB / 1.142 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001149/0.8366, allocations: 0.5613 MB / 1.142 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8366, allocations: 0.9375 kB / 1.142 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002161/0.8388, allocations: 454.4 kB / 1.143 GB, free: 3.859 MB / 0.9981 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: 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 (121): * Single equations (assignments): 110 * 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.002559/0.8414, allocations: 0.6891 MB / 1.143 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.8438, allocations: 1.007 MB / 1.144 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8438, allocations: 1.969 kB / 1.144 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.845, allocations: 0.5786 MB / 1.145 GB, free: 19.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.8473, allocations: 485.3 kB / 1.145 GB, free: 19.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.8514, allocations: 2.387 MB / 1.148 GB, free: 18.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.8521, allocations: 0.5816 MB / 1.148 GB, free: 18.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001196/0.8533, allocations: 321 kB / 1.149 GB, free: 18.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.8536, allocations: 132.8 kB / 1.149 GB, free: 18.25 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/0.8536, allocations: 0.9688 kB / 1.149 GB, free: 18.25 MB / 1.014 GB Notification: Performance of Templates: time 0.03596/0.8896, allocations: 21.79 MB / 1.17 GB, free: 15.9 MB / 1.014 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: 9.501854535192251]