Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001364/0.001364, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001333/0.001333, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.435/1.435, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 75.88 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 173.6 MB / 1.305 GB, free: 33.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005786/1.041, allocations: 5.315 MB / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1999/1.241, allocations: 151.2 MB / 1.458 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/1.242, allocations: 17 kB / 1.458 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009761/1.243, allocations: 203.5 kB / 1.458 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/1.246, allocations: 0.5754 MB / 1.459 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/1.249, allocations: 0.8677 MB / 1.46 GB, free: 15.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002856/1.252, allocations: 1.458 MB / 1.461 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/1.253, allocations: 432.3 kB / 1.462 GB, free: 14 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/1.254, allocations: 0.5014 MB / 1.462 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007897/1.255, allocations: 0.5295 MB / 1.463 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/1.255, allocations: 119.8 kB / 1.463 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/1.256, allocations: 487.6 kB / 1.463 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/1.256, allocations: 315.6 kB / 1.464 GB, free: 13.16 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008055/1.257, allocations: 0.5918 MB / 1.464 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004842/1.262, allocations: 1.696 MB / 1.466 GB, free: 12.04 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.262, allocations: 1.438 kB / 1.466 GB, free: 12.04 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.655e-06/1.262, allocations: 0 / 1.466 GB, free: 12.04 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.282e-05/1.262, allocations: 0 / 1.466 GB, free: 12.04 MB / 1.154 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.00478/1.267, allocations: 1.524 MB / 1.467 GB, free: 11 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/1.267, allocations: 12.28 kB / 1.467 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/1.268, allocations: 195.1 kB / 1.468 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/1.27, allocations: 0.7892 MB / 1.468 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/1.27, allocations: 67.39 kB / 1.468 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/1.27, allocations: 89.05 kB / 1.468 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/1.272, allocations: 0.9538 MB / 1.469 GB, free: 9.793 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.272, allocations: 1.281 kB / 1.469 GB, free: 9.793 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/1.272, allocations: 40.47 kB / 1.469 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/1.272, allocations: 22.22 kB / 1.469 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/1.274, allocations: 1.133 MB / 1.471 GB, free: 9.223 MB / 1.154 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.004872/1.279, allocations: 2.868 MB / 1.473 GB, free: 6.898 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.281, allocations: 0.7917 MB / 1.474 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/1.281, allocations: 297.2 kB / 1.474 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/1.281, allocations: 32.61 kB / 1.474 GB, free: 6.312 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009574/1.282, allocations: 0.5055 MB / 1.475 GB, free: 5.992 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/1.282, allocations: 0 / 1.475 GB, free: 5.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003604/1.286, allocations: 1.248 MB / 1.476 GB, free: 5.312 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.286, allocations: 193.4 kB / 1.476 GB, free: 5.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.287, allocations: 0.6523 MB / 1.477 GB, free: 4.707 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/1.287, allocations: 41.95 kB / 1.477 GB, free: 4.664 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/1.288, allocations: 415.2 kB / 1.477 GB, free: 4.301 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/1.288, allocations: 296.7 kB / 1.478 GB, free: 4.043 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.288, allocations: 173 kB / 1.478 GB, free: 3.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.288, allocations: 389.9 kB / 1.478 GB, free: 3.566 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/1.289, allocations: 280.9 kB / 1.479 GB, free: 3.426 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/1.29, allocations: 375.4 kB / 1.479 GB, free: 3.215 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.291, allocations: 0.6284 MB / 1.479 GB, free: 2.879 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.291, allocations: 1.219 kB / 1.479 GB, free: 2.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002215/1.293, allocations: 0.8893 MB / 1.48 GB, free: 2.418 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.293, allocations: 6.438 kB / 1.48 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.293, allocations: 0 / 1.48 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/1.294, allocations: 89.31 kB / 1.48 GB, free: 2.371 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/1.295, allocations: 174 kB / 1.481 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/1.297, allocations: 1.643 MB / 1.482 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009497/1.298, allocations: 91.16 kB / 1.482 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/1.298, allocations: 43.62 kB / 1.482 GB, free: 0.6367 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.0006117/1.299, allocations: 269.2 kB / 1.483 GB, free: 440 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/1.299, allocations: 92.7 kB / 1.483 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/1.301, allocations: 1.1 MB / 1.484 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.301, allocations: 9.75 kB / 1.484 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.301, allocations: 1.094 kB / 1.484 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.301, allocations: 7.922 kB / 1.484 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.303, allocations: 0.9249 MB / 1.485 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.303, allocations: 0 / 1.485 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/1.303, allocations: 165.9 kB / 1.485 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/1.304, allocations: 74.2 kB / 1.485 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.304, allocations: 24.61 kB / 1.485 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/1.306, allocations: 1.657 MB / 1.487 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.306, allocations: 1.125 kB / 1.487 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/1.309, allocations: 1.371 MB / 1.488 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/1.31, allocations: 285.4 kB / 1.488 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/1.31, allocations: 25.64 kB / 1.488 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/1.31, allocations: 62.88 kB / 1.488 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.31, allocations: 75.2 kB / 1.488 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/1.311, allocations: 39.62 kB / 1.488 GB, free: 12.25 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000674/1.311, allocations: 472.2 kB / 1.489 GB, free: 11.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.311, allocations: 0 / 1.489 GB, free: 11.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001077/1.312, allocations: 337.4 kB / 1.489 GB, free: 11.71 MB / 1.17 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.002014/1.314, allocations: 0.605 MB / 1.49 GB, free: 11.28 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001907/1.316, allocations: 0.8311 MB / 1.491 GB, free: 10.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.316, allocations: 4 kB / 1.491 GB, free: 10.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009767/1.317, allocations: 0.5003 MB / 1.491 GB, free: 9.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.319, allocations: 300.3 kB / 1.491 GB, free: 9.645 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.322, allocations: 1.865 MB / 1.493 GB, free: 7.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/1.323, allocations: 1.039 MB / 1.494 GB, free: 6.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009184/1.324, allocations: 282.7 kB / 1.494 GB, free: 6.398 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/1.324, allocations: 107.4 kB / 1.495 GB, free: 6.293 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/1.324, allocations: 0 / 1.495 GB, free: 6.293 MB / 1.17 GB Notification: Performance of Templates: time 0.03221/1.356, allocations: 15.91 MB / 1.51 GB, free: 6.543 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.06819979660213]