Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001896/0.001896, allocations: 104.8 kB / 16.45 MB, free: 6.449 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.002402/0.002402, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.4899 GB / 0.7915 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 70.22 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007811/0.3406, allocations: 5.296 MB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.5361, allocations: 154 MB / 1.477 GB, free: 2.852 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5372, allocations: 23.81 kB / 1.477 GB, free: 2.828 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.538, allocations: 206.1 kB / 1.477 GB, free: 2.625 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.54, allocations: 0.5818 MB / 1.478 GB, free: 2.043 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.5422, allocations: 0.8738 MB / 1.478 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.5442, allocations: 1.486 MB / 1.48 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.545, allocations: 438.2 kB / 1.48 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.5458, allocations: 0.5217 MB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.5466, allocations: 0.5407 MB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.5467, allocations: 124 kB / 1.482 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.5478, allocations: 0.5074 MB / 1.482 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5482, allocations: 322.9 kB / 1.482 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005752/0.5487, allocations: 0.5829 MB / 1.483 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.5511, allocations: 1.743 MB / 1.485 GB, free: 10.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5511, allocations: 4 kB / 1.485 GB, free: 10.88 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5511, allocations: 0 / 1.485 GB, free: 10.88 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.5511, allocations: 0 / 1.485 GB, free: 10.88 MB / 1.186 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.002986/0.5541, allocations: 1.557 MB / 1.486 GB, free: 9.273 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5542, allocations: 11.98 kB / 1.486 GB, free: 9.262 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.5557, allocations: 240 kB / 1.486 GB, free: 9.027 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5572, allocations: 0.8097 MB / 1.487 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.5573, allocations: 62 kB / 1.487 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5574, allocations: 84 kB / 1.487 GB, free: 8.031 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.5593, allocations: 0.9535 MB / 1.488 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.5593, allocations: 3.984 kB / 1.488 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.5594, allocations: 36 kB / 1.488 GB, free: 7 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.5594, allocations: 24 kB / 1.488 GB, free: 6.977 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.5615, allocations: 1.136 MB / 1.489 GB, free: 5.836 MB / 1.186 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.004793/0.5663, allocations: 2.87 MB / 1.492 GB, free: 2.828 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.5681, allocations: 0.8006 MB / 1.493 GB, free: 2.016 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.5687, allocations: 294.7 kB / 1.493 GB, free: 1.723 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.5688, allocations: 28.7 kB / 1.493 GB, free: 1.695 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.5697, allocations: 0.5101 MB / 1.494 GB, free: 1.172 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 3.337e-06/0.5697, allocations: 0 / 1.494 GB, free: 1.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003733/0.5735, allocations: 1.255 MB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.5736, allocations: 188.9 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.5747, allocations: 0.6763 MB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.5748, allocations: 45.64 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.5752, allocations: 429.1 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.5755, allocations: 293.5 kB / 1.497 GB, free: 14.21 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.5758, allocations: 166.6 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002483/0.576, allocations: 398.7 kB / 1.497 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.5766, allocations: 277.8 kB / 1.497 GB, free: 13.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.5774, allocations: 383.1 kB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.5787, allocations: 0.6242 MB / 1.498 GB, free: 12.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5787, allocations: 0 / 1.498 GB, free: 12.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002373/0.5811, allocations: 0.8999 MB / 1.499 GB, free: 11.44 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.5811, allocations: 8 kB / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5811, allocations: 0 / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.5818, allocations: 84.8 kB / 1.499 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.5825, allocations: 175.7 kB / 1.499 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.5851, allocations: 1.626 MB / 1.501 GB, free: 9.402 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.586, allocations: 91.5 kB / 1.501 GB, free: 9.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.5861, allocations: 39.97 kB / 1.501 GB, free: 9.273 MB / 1.201 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.0006402/0.5868, allocations: 271.7 kB / 1.501 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.587, allocations: 103.3 kB / 1.502 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.5897, allocations: 1.086 MB / 1.503 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5897, allocations: 8 kB / 1.503 GB, free: 7.793 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5897, allocations: 4 kB / 1.503 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.5897, allocations: 7.969 kB / 1.503 GB, free: 7.781 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.591, allocations: 0.9349 MB / 1.504 GB, free: 6.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.591, allocations: 3.938 kB / 1.504 GB, free: 6.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.5918, allocations: 163.7 kB / 1.504 GB, free: 6.629 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/0.5922, allocations: 72.78 kB / 1.504 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.5923, allocations: 27.97 kB / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.5947, allocations: 1.65 MB / 1.505 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5947, allocations: 0 / 1.505 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.598, allocations: 1.379 MB / 1.507 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.5985, allocations: 288.2 kB / 1.507 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.5986, allocations: 19.94 kB / 1.507 GB, free: 3.008 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.5993, allocations: 64 kB / 1.507 GB, free: 2.945 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5995, allocations: 72.89 kB / 1.507 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.5996, allocations: 39.97 kB / 1.507 GB, free: 2.836 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006877/0.6003, allocations: 491 kB / 1.508 GB, free: 2.359 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6003, allocations: 0 / 1.508 GB, free: 2.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009324/0.6012, allocations: 339.1 kB / 1.508 GB, free: 2.027 MB / 1.201 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.002098/0.6033, allocations: 0.6258 MB / 1.509 GB, free: 1.574 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.6053, allocations: 0.8158 MB / 1.509 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6053, allocations: 4 kB / 1.509 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.6063, allocations: 0.4963 MB / 1.51 GB, free: 240 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.6077, allocations: 321.2 kB / 1.51 GB, free: 15.94 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.6115, allocations: 1.869 MB / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.6123, allocations: 1.051 MB / 1.513 GB, free: 12.97 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008324/0.6131, allocations: 279 kB / 1.513 GB, free: 12.69 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6134, allocations: 111.4 kB / 1.513 GB, free: 12.58 MB / 1.217 GB Notification: Performance of SimCode: time 7.91e-07/0.6134, allocations: 0 / 1.513 GB, free: 12.58 MB / 1.217 GB Notification: Performance of Templates: time 0.03114/0.6445, allocations: 15.88 MB / 1.529 GB, free: 12.87 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.79339755512774]