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.001572/0.001572, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00174/0.00174, allocations: 210.4 kB / 22.24 MB, free: 5.258 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.805 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.265/3.265, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002782/0.002782, allocations: 65.36 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.38, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007663/0.3877, allocations: 4.773 MB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.5745, allocations: 132.7 MB / 1.46 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008639/0.5753, allocations: 23.81 kB / 1.46 GB, free: 7.809 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.576, allocations: 206.1 kB / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.5778, allocations: 0.5931 MB / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.58, allocations: 0.8653 MB / 1.461 GB, free: 6.152 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.5819, allocations: 1.478 MB / 1.463 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.5827, allocations: 406.8 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.5835, allocations: 0.5334 MB / 1.464 GB, free: 3.707 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.5843, allocations: 490.9 kB / 1.464 GB, free: 3.227 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.5845, allocations: 120 kB / 1.464 GB, free: 3.109 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5856, allocations: 0.4956 MB / 1.465 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.5859, allocations: 303 kB / 1.465 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.5864, allocations: 493.6 kB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.5887, allocations: 1.755 MB / 1.467 GB, free: 72 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5887, allocations: 0 / 1.467 GB, free: 72 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5887, allocations: 8 kB / 1.467 GB, free: 64 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.5887, allocations: 0 / 1.467 GB, free: 64 kB / 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.002892/0.5916, allocations: 1.47 MB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5916, allocations: 11.97 kB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.5931, allocations: 240 kB / 1.469 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.5946, allocations: 0.7299 MB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.5947, allocations: 69.98 kB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.5949, allocations: 87.98 kB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.5968, allocations: 1.204 MB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.5968, allocations: 7.984 kB / 1.471 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.5969, allocations: 36 kB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.5969, allocations: 24 kB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.5991, allocations: 1.089 MB / 1.472 GB, free: 10.93 MB / 1.17 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.004798/0.6039, allocations: 2.17 MB / 1.474 GB, free: 8.703 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.6057, allocations: 0.7946 MB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.6063, allocations: 304.8 kB / 1.475 GB, free: 7.598 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.328e-05/0.6064, allocations: 20.64 kB / 1.475 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.6074, allocations: 0.6144 MB / 1.476 GB, free: 6.926 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.735e-06/0.6074, allocations: 0 / 1.476 GB, free: 6.926 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003522/0.6109, allocations: 1.168 MB / 1.477 GB, free: 5.75 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6111, allocations: 200.8 kB / 1.477 GB, free: 5.512 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009163/0.612, allocations: 0.6253 MB / 1.478 GB, free: 4.879 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.612, allocations: 45.69 kB / 1.478 GB, free: 4.828 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6125, allocations: 425.1 kB / 1.478 GB, free: 4.406 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6128, allocations: 293.5 kB / 1.479 GB, free: 4.117 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.613, allocations: 174.6 kB / 1.479 GB, free: 3.941 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002839/0.6133, allocations: 386.8 kB / 1.479 GB, free: 3.555 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.6139, allocations: 273.9 kB / 1.479 GB, free: 3.285 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.6147, allocations: 0.4957 MB / 1.48 GB, free: 2.742 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.616, allocations: 0.6359 MB / 1.481 GB, free: 2.098 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.616, allocations: 4 kB / 1.481 GB, free: 2.094 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00227/0.6183, allocations: 0.8882 MB / 1.481 GB, free: 1.195 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6183, allocations: 8 kB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6183, allocations: 0 / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.6189, allocations: 80.88 kB / 1.482 GB, free: 1.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.6197, allocations: 175.8 kB / 1.482 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.6223, allocations: 1.496 MB / 1.483 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.623, allocations: 91.53 kB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.6231, allocations: 35.98 kB / 1.483 GB, free: 15.21 MB / 1.186 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.0005276/0.6236, allocations: 279.4 kB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6238, allocations: 87.44 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.6265, allocations: 1.089 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.6265, allocations: 12 kB / 1.485 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6265, allocations: 4 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6265, allocations: 3.984 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.6276, allocations: 0.6577 MB / 1.485 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6276, allocations: 0 / 1.485 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.6283, allocations: 159.7 kB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.6288, allocations: 76.78 kB / 1.486 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.6288, allocations: 31.97 kB / 1.486 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.6311, allocations: 1.52 MB / 1.487 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6311, allocations: 0 / 1.487 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.634, allocations: 1.368 MB / 1.488 GB, free: 9.738 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.6345, allocations: 203.1 kB / 1.489 GB, free: 9.539 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6346, allocations: 20 kB / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.6352, allocations: 65.7 kB / 1.489 GB, free: 9.457 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.6354, allocations: 80.8 kB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.6355, allocations: 43.91 kB / 1.489 GB, free: 9.336 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007484/0.6362, allocations: 451 kB / 1.489 GB, free: 8.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6362, allocations: 3.938 kB / 1.489 GB, free: 8.895 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009406/0.6372, allocations: 347.1 kB / 1.49 GB, free: 8.555 MB / 1.186 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.002124/0.6393, allocations: 0.648 MB / 1.49 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.6412, allocations: 0.8197 MB / 1.491 GB, free: 7.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6412, allocations: 8 kB / 1.491 GB, free: 7.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6422, allocations: 0.5002 MB / 1.492 GB, free: 6.758 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.6433, allocations: 295.5 kB / 1.492 GB, free: 6.492 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.647, allocations: 1.89 MB / 1.494 GB, free: 4.574 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6475, allocations: 461.4 kB / 1.494 GB, free: 4.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008186/0.6483, allocations: 258.7 kB / 1.494 GB, free: 3.832 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6486, allocations: 115.4 kB / 1.494 GB, free: 3.719 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/0.6486, allocations: 0 / 1.494 GB, free: 3.719 MB / 1.186 GB Notification: Performance of Templates: time 0.03081/0.6794, allocations: 16.67 MB / 1.511 GB, free: 3.305 MB / 1.201 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: 10.172144325450063]