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.001564/0.001564, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002058/0.002058, allocations: 192.1 kB / 22.17 MB, free: 5.656 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.524/1.524, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.771/2.771, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.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.002037/0.002037, allocations: 67.88 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7615, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00737/0.7689, allocations: 5.299 MB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.953, allocations: 151.2 MB / 1.427 GB, free: 7.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.9541, allocations: 19.88 kB / 1.427 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.9549, allocations: 210 kB / 1.427 GB, free: 7.203 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.9572, allocations: 0.5743 MB / 1.428 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.9596, allocations: 0.8693 MB / 1.429 GB, free: 5.766 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.9614, allocations: 1.447 MB / 1.43 GB, free: 4.312 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.9623, allocations: 430.2 kB / 1.43 GB, free: 3.867 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008514/0.9631, allocations: 0.5022 MB / 1.431 GB, free: 3.363 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008013/0.9639, allocations: 0.5328 MB / 1.431 GB, free: 2.828 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.9641, allocations: 120 kB / 1.431 GB, free: 2.711 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009875/0.9651, allocations: 487.6 kB / 1.432 GB, free: 2.234 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.9654, allocations: 307 kB / 1.432 GB, free: 1.934 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.966, allocations: 0.5907 MB / 1.433 GB, free: 1.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.9683, allocations: 1.7 MB / 1.434 GB, free: 15.63 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9683, allocations: 0 / 1.434 GB, free: 15.63 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9683, allocations: 0 / 1.434 GB, free: 15.63 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.9683, allocations: 0 / 1.434 GB, free: 15.63 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.002897/0.9712, allocations: 1.518 MB / 1.436 GB, free: 14.06 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9713, allocations: 12.03 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.9722, allocations: 196 kB / 1.436 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.9737, allocations: 0.7942 MB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.9738, allocations: 66 kB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.974, allocations: 87.98 kB / 1.437 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.9758, allocations: 0.9535 MB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.9758, allocations: 4 kB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.9759, allocations: 43.98 kB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.9759, allocations: 20 kB / 1.438 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.9779, allocations: 1.132 MB / 1.439 GB, free: 10.68 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.004525/0.9824, allocations: 2.779 MB / 1.442 GB, free: 7.785 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.9842, allocations: 0.7966 MB / 1.443 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.9849, allocations: 305.5 kB / 1.443 GB, free: 6.676 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.9849, allocations: 24.69 kB / 1.443 GB, free: 6.652 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009671/0.9859, allocations: 0.5062 MB / 1.443 GB, free: 6.129 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/0.9859, allocations: 4 kB / 1.444 GB, free: 6.125 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003498/0.9894, allocations: 1.255 MB / 1.445 GB, free: 4.848 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.9896, allocations: 196.9 kB / 1.445 GB, free: 4.613 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.9905, allocations: 0.6489 MB / 1.446 GB, free: 3.953 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.9906, allocations: 45.7 kB / 1.446 GB, free: 3.902 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.991, allocations: 417.1 kB / 1.446 GB, free: 3.488 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.9913, allocations: 293.5 kB / 1.446 GB, free: 3.199 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.9915, allocations: 170.6 kB / 1.446 GB, free: 3.023 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.9917, allocations: 386.7 kB / 1.447 GB, free: 2.637 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.9923, allocations: 277.9 kB / 1.447 GB, free: 2.367 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/0.9931, allocations: 379 kB / 1.447 GB, free: 1.984 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.9944, allocations: 0.632 MB / 1.448 GB, free: 1.34 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9944, allocations: 0 / 1.448 GB, free: 1.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002192/0.9966, allocations: 0.8882 MB / 1.449 GB, free: 452 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9966, allocations: 4 kB / 1.449 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9966, allocations: 4 kB / 1.449 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.9973, allocations: 84.86 kB / 1.449 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.998, allocations: 175.7 kB / 1.449 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/1.001, allocations: 1.634 MB / 1.451 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/1.001, allocations: 97.48 kB / 1.451 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/1.001, allocations: 44.03 kB / 1.451 GB, free: 14.25 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.0005026/1.002, allocations: 267.9 kB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.002, allocations: 87.44 kB / 1.451 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/1.005, allocations: 1.097 MB / 1.452 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.005, allocations: 8 kB / 1.452 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.005, allocations: 0 / 1.452 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.005, allocations: 3.984 kB / 1.452 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/1.006, allocations: 0.9348 MB / 1.453 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.006, allocations: 4 kB / 1.453 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/1.007, allocations: 159.7 kB / 1.453 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/1.007, allocations: 68.8 kB / 1.453 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/1.007, allocations: 31.97 kB / 1.453 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/1.01, allocations: 1.666 MB / 1.455 GB, free: 9.715 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.01, allocations: 0 / 1.455 GB, free: 9.715 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.013, allocations: 1.368 MB / 1.456 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/1.013, allocations: 284.1 kB / 1.457 GB, free: 8.027 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/1.014, allocations: 27.86 kB / 1.457 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/1.014, allocations: 67.88 kB / 1.457 GB, free: 7.934 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.014, allocations: 72.89 kB / 1.457 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/1.014, allocations: 40.05 kB / 1.457 GB, free: 7.824 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007641/1.015, allocations: 471 kB / 1.457 GB, free: 7.367 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/1.015, allocations: 0 / 1.457 GB, free: 7.367 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001104/1.016, allocations: 331.2 kB / 1.458 GB, free: 7.043 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.002158/1.019, allocations: 0.6116 MB / 1.458 GB, free: 6.617 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.021, allocations: 0.8273 MB / 1.459 GB, free: 5.773 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.021, allocations: 0 / 1.459 GB, free: 5.773 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.022, allocations: 0.5042 MB / 1.46 GB, free: 5.262 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.023, allocations: 316.6 kB / 1.46 GB, free: 4.973 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/1.027, allocations: 1.883 MB / 1.462 GB, free: 3.066 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/1.028, allocations: 1.035 MB / 1.463 GB, free: 2 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009959/1.029, allocations: 258.9 kB / 1.463 GB, free: 1.742 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.03, allocations: 111.4 kB / 1.463 GB, free: 1.633 MB / 1.154 GB Notification: Performance of SimCode: time 1.313e-06/1.03, allocations: 0 / 1.463 GB, free: 1.633 MB / 1.154 GB Notification: Performance of Templates: time 0.03209/1.062, allocations: 15.91 MB / 1.479 GB, free: 1.895 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.453969440888613]