Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001684/0.001684, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00142/0.00142, allocations: 189 kB / 22.22 MB, free: 5.105 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.407/1.407, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8224, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007631/0.8301, allocations: 5.299 MB / 1.28 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1829/1.013, allocations: 151.2 MB / 1.427 GB, free: 7.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009093/1.014, allocations: 23.81 kB / 1.427 GB, free: 7.047 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009003/1.015, allocations: 202.1 kB / 1.427 GB, free: 6.848 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/1.017, allocations: 0.5757 MB / 1.428 GB, free: 6.273 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/1.019, allocations: 0.8697 MB / 1.429 GB, free: 5.41 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002142/1.021, allocations: 1.463 MB / 1.43 GB, free: 3.941 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009598/1.022, allocations: 430.7 kB / 1.431 GB, free: 3.492 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008863/1.023, allocations: 0.51 MB / 1.431 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/1.024, allocations: 0.5289 MB / 1.432 GB, free: 2.449 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/1.025, allocations: 123.9 kB / 1.432 GB, free: 2.328 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/1.026, allocations: 499.6 kB / 1.432 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/1.026, allocations: 307 kB / 1.433 GB, free: 1.539 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008298/1.027, allocations: 0.5907 MB / 1.433 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/1.03, allocations: 1.695 MB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.03, allocations: 0 / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.753e-06/1.03, allocations: 0 / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.935e-05/1.03, allocations: 0 / 1.435 GB, free: 15.25 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003179/1.033, allocations: 1.451 MB / 1.436 GB, free: 13.76 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.033, allocations: 12.03 kB / 1.436 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.034, allocations: 196 kB / 1.436 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/1.035, allocations: 0.7182 MB / 1.437 GB, free: 12.81 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/1.035, allocations: 66 kB / 1.437 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.035, allocations: 84 kB / 1.437 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/1.037, allocations: 0.9535 MB / 1.438 GB, free: 11.67 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.037, allocations: 4 kB / 1.438 GB, free: 11.67 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/1.037, allocations: 40 kB / 1.438 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/1.037, allocations: 23.98 kB / 1.438 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.04, allocations: 1.139 MB / 1.439 GB, free: 10.46 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.0046/1.044, allocations: 2.729 MB / 1.442 GB, free: 7.621 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.046, allocations: 0.8033 MB / 1.443 GB, free: 6.805 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/1.046, allocations: 294.7 kB / 1.443 GB, free: 6.516 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/1.047, allocations: 40.66 kB / 1.443 GB, free: 6.477 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009624/1.047, allocations: 0.5023 MB / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.385e-06/1.047, allocations: 0 / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.0035/1.051, allocations: 1.172 MB / 1.445 GB, free: 4.777 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.051, allocations: 200.9 kB / 1.445 GB, free: 4.539 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/1.052, allocations: 0.6412 MB / 1.446 GB, free: 3.887 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/1.052, allocations: 41.7 kB / 1.446 GB, free: 3.84 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.052, allocations: 433 kB / 1.446 GB, free: 3.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.053, allocations: 285.5 kB / 1.446 GB, free: 3.129 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.053, allocations: 170.6 kB / 1.446 GB, free: 2.953 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1.053, allocations: 386.8 kB / 1.447 GB, free: 2.566 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/1.054, allocations: 285.8 kB / 1.447 GB, free: 2.289 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/1.054, allocations: 379.1 kB / 1.447 GB, free: 1.906 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.056, allocations: 0.6359 MB / 1.448 GB, free: 1.258 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.056, allocations: 0 / 1.448 GB, free: 1.258 MB / 1.139 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002176/1.058, allocations: 0.892 MB / 1.449 GB, free: 368 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.058, allocations: 4 kB / 1.449 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.058, allocations: 0 / 1.449 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/1.059, allocations: 84.86 kB / 1.449 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/1.059, allocations: 175.7 kB / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.062, allocations: 1.534 MB / 1.451 GB, free: 14.44 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/1.063, allocations: 87.53 kB / 1.451 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/1.063, allocations: 44.03 kB / 1.451 GB, free: 14.31 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0005576/1.063, allocations: 283.5 kB / 1.451 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/1.063, allocations: 87.44 kB / 1.451 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.066, allocations: 1.09 MB / 1.452 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.066, allocations: 8 kB / 1.452 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.066, allocations: 4 kB / 1.452 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.066, allocations: 7.969 kB / 1.452 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.068, allocations: 0.9026 MB / 1.453 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.068, allocations: 4 kB / 1.453 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/1.068, allocations: 155.7 kB / 1.453 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/1.069, allocations: 72.78 kB / 1.453 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/1.069, allocations: 23.98 kB / 1.453 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/1.071, allocations: 1.559 MB / 1.455 GB, free: 9.934 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.071, allocations: 0 / 1.455 GB, free: 9.934 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/1.076, allocations: 1.375 MB / 1.456 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/1.077, allocations: 195.1 kB / 1.456 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/1.077, allocations: 31.89 kB / 1.457 GB, free: 8.316 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.078, allocations: 59.92 kB / 1.457 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.078, allocations: 76.86 kB / 1.457 GB, free: 8.184 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.078, allocations: 40.03 kB / 1.457 GB, free: 8.145 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001121/1.08, allocations: 471 kB / 1.457 GB, free: 7.688 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.51e-07/1.08, allocations: 0 / 1.457 GB, free: 7.688 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001166/1.081, allocations: 339.2 kB / 1.457 GB, free: 7.355 MB / 1.154 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: 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 (96): * Single equations (assignments): 90 * 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.002107/1.083, allocations: 0.603 MB / 1.458 GB, free: 6.926 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.085, allocations: 0.8311 MB / 1.459 GB, free: 6.082 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.085, allocations: 4 kB / 1.459 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.086, allocations: 0.5042 MB / 1.459 GB, free: 5.566 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.087, allocations: 310 kB / 1.46 GB, free: 5.281 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/1.091, allocations: 1.867 MB / 1.461 GB, free: 3.383 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/1.092, allocations: 1.039 MB / 1.462 GB, free: 2.316 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008684/1.093, allocations: 270.7 kB / 1.463 GB, free: 2.047 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/1.093, allocations: 119.3 kB / 1.463 GB, free: 1.93 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.093, allocations: 0 / 1.463 GB, free: 1.93 MB / 1.154 GB Notification: Performance of Templates: time 0.03087/1.124, allocations: 16.14 MB / 1.479 GB, free: 1.965 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.657838388346136]