Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001351/0.001351, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001637/0.001637, allocations: 204.3 kB / 22.18 MB, free: 5.211 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.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.734/2.734, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7605, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007701/0.7682, allocations: 4.992 MB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.9404, allocations: 151.2 MB / 1.427 GB, free: 7.641 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.9411, allocations: 19.94 kB / 1.427 GB, free: 7.621 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.9419, allocations: 198.1 kB / 1.427 GB, free: 7.426 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.9438, allocations: 0.5584 MB / 1.427 GB, free: 6.867 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.946, allocations: 0.8502 MB / 1.428 GB, free: 6.023 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.9479, allocations: 1.373 MB / 1.429 GB, free: 4.645 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.9487, allocations: 409.4 kB / 1.43 GB, free: 4.223 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.9495, allocations: 482.3 kB / 1.43 GB, free: 3.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.9503, allocations: 0.5017 MB / 1.431 GB, free: 3.246 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.9505, allocations: 112 kB / 1.431 GB, free: 3.137 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.9516, allocations: 483.6 kB / 1.431 GB, free: 2.664 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.9519, allocations: 291 kB / 1.432 GB, free: 2.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.9526, allocations: 0.5558 MB / 1.432 GB, free: 1.82 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.9549, allocations: 1.623 MB / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9549, allocations: 0 / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9549, allocations: 0 / 1.434 GB, free: 196 kB / 1.123 GB Notification: Performance of Transformations before backend: time 3.924e-05/0.955, allocations: 0 / 1.434 GB, free: 196 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003005/0.958, allocations: 1.46 MB / 1.435 GB, free: 14.67 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.958, allocations: 12.03 kB / 1.435 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.959, allocations: 188.1 kB / 1.435 GB, free: 14.47 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.9604, allocations: 0.7661 MB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.9604, allocations: 66 kB / 1.436 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.9606, allocations: 80 kB / 1.436 GB, free: 13.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.9623, allocations: 0.9114 MB / 1.437 GB, free: 12.56 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.9623, allocations: 0 / 1.437 GB, free: 12.56 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/0.9624, allocations: 36 kB / 1.437 GB, free: 12.53 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.9624, allocations: 27.94 kB / 1.437 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.9643, allocations: 1.093 MB / 1.438 GB, free: 11.41 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.004512/0.9688, allocations: 2.729 MB / 1.441 GB, free: 8.559 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.9704, allocations: 0.7388 MB / 1.442 GB, free: 7.82 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.9709, allocations: 278.6 kB / 1.442 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.29e-05/0.971, allocations: 28.61 kB / 1.442 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/0.9719, allocations: 483.7 kB / 1.442 GB, free: 7.027 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/0.9719, allocations: 3.938 kB / 1.442 GB, free: 7.023 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003395/0.9753, allocations: 1.179 MB / 1.444 GB, free: 5.816 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.9754, allocations: 196.6 kB / 1.444 GB, free: 5.582 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/0.9764, allocations: 0.641 MB / 1.444 GB, free: 4.934 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.9764, allocations: 41.7 kB / 1.444 GB, free: 4.887 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.9768, allocations: 401 kB / 1.445 GB, free: 4.488 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.9771, allocations: 273.6 kB / 1.445 GB, free: 4.219 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.9773, allocations: 162.6 kB / 1.445 GB, free: 4.055 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.9775, allocations: 390.6 kB / 1.446 GB, free: 3.664 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.9781, allocations: 269.8 kB / 1.446 GB, free: 3.402 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.9788, allocations: 360 kB / 1.446 GB, free: 3.031 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.98, allocations: 0.6081 MB / 1.447 GB, free: 2.41 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.98, allocations: 0 / 1.447 GB, free: 2.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002127/0.9821, allocations: 0.8375 MB / 1.448 GB, free: 1.562 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9822, allocations: 11.98 kB / 1.448 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9822, allocations: 0 / 1.448 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.9828, allocations: 80.91 kB / 1.448 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.9835, allocations: 167.7 kB / 1.448 GB, free: 1.305 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.9858, allocations: 1.629 MB / 1.449 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/0.9866, allocations: 97.12 kB / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.9866, allocations: 27.98 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004915/0.9871, allocations: 271.4 kB / 1.45 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.9874, allocations: 87.44 kB / 1.45 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.9899, allocations: 1.042 MB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.9899, allocations: 8 kB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9899, allocations: 3.938 kB / 1.451 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.9899, allocations: 11.98 kB / 1.451 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.9912, allocations: 0.8839 MB / 1.452 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.9912, allocations: 0 / 1.452 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.9918, allocations: 143.8 kB / 1.452 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.9922, allocations: 76.78 kB / 1.452 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.9923, allocations: 27.86 kB / 1.452 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.9944, allocations: 1.662 MB / 1.454 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9944, allocations: 4.062 kB / 1.454 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.9965, allocations: 0.9165 MB / 1.455 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.9969, allocations: 268.2 kB / 1.455 GB, free: 9.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.9971, allocations: 20 kB / 1.455 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.9978, allocations: 59.92 kB / 1.455 GB, free: 9.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9979, allocations: 68.91 kB / 1.455 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.998, allocations: 39.92 kB / 1.455 GB, free: 9.574 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006351/0.9986, allocations: 459 kB / 1.455 GB, free: 9.133 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.9986, allocations: 0 / 1.455 GB, free: 9.133 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008721/0.9995, allocations: 331.1 kB / 1.456 GB, free: 8.809 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001954/1.001, allocations: 0.5987 MB / 1.456 GB, free: 8.395 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.003, allocations: 0.796 MB / 1.457 GB, free: 7.582 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.003, allocations: 0 / 1.457 GB, free: 7.582 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/1.004, allocations: 488.5 kB / 1.458 GB, free: 7.094 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.006, allocations: 313.6 kB / 1.458 GB, free: 6.805 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/1.009, allocations: 1.699 MB / 1.46 GB, free: 5.078 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/1.01, allocations: 1.019 MB / 1.461 GB, free: 4.035 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008066/1.01, allocations: 262.5 kB / 1.461 GB, free: 3.773 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.011, allocations: 103.4 kB / 1.461 GB, free: 3.672 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.011, allocations: 0 / 1.461 GB, free: 3.672 MB / 1.154 GB Notification: Performance of Templates: time 0.02872/1.039, allocations: 15.45 MB / 1.476 GB, free: 4.387 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.33177179004997]