Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001992/0.001992, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002561/0.002561, allocations: 210.8 kB / 22.98 MB, free: 4.984 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.144/3.144, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [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.002082/0.002082, allocations: 66.41 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1915/0.5576, allocations: 146.3 MB / 1.47 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.5711, allocations: 7.533 MB / 1.477 GB, free: 6.547 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.5734, allocations: 47.62 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.5756, allocations: 393 kB / 1.478 GB, free: 6.113 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005998/0.5816, allocations: 1.377 MB / 1.479 GB, free: 4.734 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.5852, allocations: 1.207 MB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003963/0.5892, allocations: 2.41 MB / 1.483 GB, free: 1.117 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.591, allocations: 0.976 MB / 1.484 GB, free: 120 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.5926, allocations: 0.9031 MB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.5944, allocations: 0.8207 MB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.5946, allocations: 156 kB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.5972, allocations: 1.029 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.5978, allocations: 454.5 kB / 1.487 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000904/0.5987, allocations: 0.6337 MB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.6035, allocations: 2.452 MB / 1.49 GB, free: 9.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6035, allocations: 0 / 1.49 GB, free: 9.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6035, allocations: 0 / 1.49 GB, free: 9.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.855e-05/0.6035, allocations: 0 / 1.49 GB, free: 9.66 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004606/0.6081, allocations: 1.883 MB / 1.492 GB, free: 7.734 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.6082, allocations: 8.031 kB / 1.492 GB, free: 7.727 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.611, allocations: 378.6 kB / 1.492 GB, free: 7.355 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.6133, allocations: 0.9512 MB / 1.493 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.6134, allocations: 90.19 kB / 1.493 GB, free: 6.277 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.6136, allocations: 112 kB / 1.493 GB, free: 6.168 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.6161, allocations: 1.523 MB / 1.495 GB, free: 4.488 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6161, allocations: 0 / 1.495 GB, free: 4.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.6163, allocations: 51.98 kB / 1.495 GB, free: 4.438 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.6163, allocations: 42.06 kB / 1.495 GB, free: 4.395 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.6187, allocations: 1.261 MB / 1.496 GB, free: 3.125 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.005739/0.6244, allocations: 2.753 MB / 1.499 GB, free: 316 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.6262, allocations: 0.9399 MB / 1.5 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.6269, allocations: 359.7 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.627, allocations: 32.97 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.6282, allocations: 0.795 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 3.065e-06/0.6282, allocations: 0 / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.00397/0.6322, allocations: 1.364 MB / 1.502 GB, free: 12.74 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.6324, allocations: 196.9 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.6335, allocations: 0.8062 MB / 1.503 GB, free: 11.68 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-05/0.6336, allocations: 49.7 kB / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.6341, allocations: 0.5363 MB / 1.504 GB, free: 11.08 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.6345, allocations: 361 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.6348, allocations: 202.5 kB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.635, allocations: 345.9 kB / 1.505 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.6357, allocations: 333.8 kB / 1.505 GB, free: 9.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.6366, allocations: 0.5905 MB / 1.505 GB, free: 9.199 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.6381, allocations: 0.7971 MB / 1.506 GB, free: 8.375 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6381, allocations: 0 / 1.506 GB, free: 8.375 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002561/0.6406, allocations: 1.083 MB / 1.507 GB, free: 7.281 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.6406, allocations: 5.875 kB / 1.507 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6407, allocations: 8.219 kB / 1.507 GB, free: 7.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/0.6413, allocations: 84.77 kB / 1.507 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/0.6423, allocations: 223.7 kB / 1.508 GB, free: 6.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.6446, allocations: 1.513 MB / 1.509 GB, free: 5.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6457, allocations: 111.3 kB / 1.509 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.6458, allocations: 39.98 kB / 1.509 GB, free: 5.199 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006318/0.6464, allocations: 323.9 kB / 1.509 GB, free: 4.871 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.6466, allocations: 111.3 kB / 1.51 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.6495, allocations: 1.244 MB / 1.511 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6495, allocations: 12 kB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.6495, allocations: 0 / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.6495, allocations: 7.969 kB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.6509, allocations: 0.8331 MB / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6509, allocations: 0 / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.6518, allocations: 211.7 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.6523, allocations: 76.78 kB / 1.512 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.6524, allocations: 31.92 kB / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.6544, allocations: 1.521 MB / 1.513 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6544, allocations: 0 / 1.513 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.6577, allocations: 1.582 MB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.6583, allocations: 242.9 kB / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6584, allocations: 24 kB / 1.515 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.6593, allocations: 75.86 kB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.6595, allocations: 96.7 kB / 1.515 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.6596, allocations: 39.98 kB / 1.515 GB, free: 14.61 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008241/0.6604, allocations: 0.5615 MB / 1.516 GB, free: 14.05 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6604, allocations: 0 / 1.516 GB, free: 14.05 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001156/0.6616, allocations: 442.9 kB / 1.516 GB, free: 13.61 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.002213/0.6638, allocations: 0.6586 MB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.6659, allocations: 0.9563 MB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6659, allocations: 0 / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.667, allocations: 0.5785 MB / 1.519 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.669, allocations: 484.2 kB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.6736, allocations: 2.488 MB / 1.521 GB, free: 8.629 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.6743, allocations: 0.5713 MB / 1.522 GB, free: 8.027 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001136/0.6754, allocations: 328.8 kB / 1.522 GB, free: 7.703 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.6758, allocations: 127.4 kB / 1.522 GB, free: 7.578 MB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.6758, allocations: 0 / 1.522 GB, free: 7.578 MB / 1.217 GB Notification: Performance of Templates: time 0.04292/0.7187, allocations: 23.27 MB / 1.545 GB, free: 0.7266 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.070833186007803]