Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001277/0.001277, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001477/0.001477, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.788/2.788, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.002172/0.002172, allocations: 67.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9374, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00524/0.9427, allocations: 4.663 MB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1766/1.119, allocations: 132.7 MB / 1.288 GB, free: 4.715 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/1.12, allocations: 28.09 kB / 1.288 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/1.121, allocations: 209.5 kB / 1.288 GB, free: 4.555 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/1.123, allocations: 0.5769 MB / 1.289 GB, free: 4.211 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/1.125, allocations: 0.8665 MB / 1.29 GB, free: 3.734 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.127, allocations: 1.442 MB / 1.291 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/1.128, allocations: 408.6 kB / 1.291 GB, free: 2.742 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/1.129, allocations: 0.5157 MB / 1.292 GB, free: 2.488 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/1.13, allocations: 485.6 kB / 1.292 GB, free: 2.262 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/1.13, allocations: 119.4 kB / 1.293 GB, free: 2.262 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.131, allocations: 496 kB / 1.293 GB, free: 2.148 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/1.132, allocations: 307.1 kB / 1.293 GB, free: 1.953 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000583/1.132, allocations: 484.2 kB / 1.294 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/1.135, allocations: 1.718 MB / 1.295 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.135, allocations: 5.344 kB / 1.295 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/1.135, allocations: 0 / 1.295 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.992e-05/1.135, allocations: 0.7969 kB / 1.295 GB, free: 0.9453 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003261/1.138, allocations: 1.453 MB / 1.297 GB, free: 15.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.138, allocations: 14.56 kB / 1.297 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/1.14, allocations: 237.2 kB / 1.297 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.142, allocations: 0.7261 MB / 1.298 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/1.142, allocations: 66.25 kB / 1.298 GB, free: 15.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/1.142, allocations: 85.42 kB / 1.298 GB, free: 15.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.144, allocations: 1.192 MB / 1.299 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/1.144, allocations: 3.938 kB / 1.299 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/1.144, allocations: 37.69 kB / 1.299 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/1.144, allocations: 20.59 kB / 1.299 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/1.146, allocations: 1.075 MB / 1.3 GB, free: 13.98 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.004425/1.15, allocations: 2.136 MB / 1.302 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.152, allocations: 0.7662 MB / 1.303 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/1.152, allocations: 277.7 kB / 1.303 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/1.153, allocations: 24.08 kB / 1.303 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.154, allocations: 0.5872 MB / 1.304 GB, free: 11.41 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.716e-06/1.154, allocations: 0.9062 kB / 1.304 GB, free: 11.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003496/1.157, allocations: 1.136 MB / 1.305 GB, free: 10.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.157, allocations: 197 kB / 1.305 GB, free: 10.62 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/1.158, allocations: 0.6163 MB / 1.306 GB, free: 10.25 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.158, allocations: 47.16 kB / 1.306 GB, free: 10.21 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/1.159, allocations: 415.7 kB / 1.306 GB, free: 9.844 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/1.159, allocations: 283.9 kB / 1.307 GB, free: 9.598 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/1.159, allocations: 164.2 kB / 1.307 GB, free: 9.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.159, allocations: 384.5 kB / 1.307 GB, free: 9.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/1.16, allocations: 273.6 kB / 1.307 GB, free: 9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/1.161, allocations: 496.9 kB / 1.308 GB, free: 8.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.162, allocations: 0.6118 MB / 1.308 GB, free: 8.309 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.162, allocations: 0 / 1.308 GB, free: 8.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002186/1.164, allocations: 0.8636 MB / 1.309 GB, free: 7.863 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.164, allocations: 12.44 kB / 1.309 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.164, allocations: 2.156 kB / 1.309 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/1.165, allocations: 85.27 kB / 1.309 GB, free: 7.812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/1.165, allocations: 165.4 kB / 1.31 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.168, allocations: 1.506 MB / 1.311 GB, free: 6.332 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/1.168, allocations: 90.11 kB / 1.311 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/1.168, allocations: 35.44 kB / 1.311 GB, free: 6.262 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 (97): * Single equations (assignments): 96 * 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.0005658/1.169, allocations: 271.6 kB / 1.311 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.169, allocations: 86.47 kB / 1.311 GB, free: 6.004 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/1.172, allocations: 1.065 MB / 1.313 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.172, allocations: 16.86 kB / 1.313 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.172, allocations: 5.031 kB / 1.313 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.172, allocations: 3.984 kB / 1.313 GB, free: 5.395 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.173, allocations: 0.6392 MB / 1.313 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.173, allocations: 0 / 1.313 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/1.173, allocations: 157.9 kB / 1.313 GB, free: 4.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.174, allocations: 69.05 kB / 1.313 GB, free: 4.855 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/1.174, allocations: 35.91 kB / 1.313 GB, free: 4.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.176, allocations: 1.528 MB / 1.315 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.176, allocations: 0 / 1.315 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/1.179, allocations: 1.344 MB / 1.316 GB, free: 1.82 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/1.179, allocations: 199.2 kB / 1.316 GB, free: 1.625 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.179, allocations: 16 kB / 1.316 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/1.18, allocations: 64 kB / 1.316 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.18, allocations: 72.86 kB / 1.317 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/1.18, allocations: 35.97 kB / 1.317 GB, free: 1.441 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006325/1.181, allocations: 447 kB / 1.317 GB, free: 1.008 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.181, allocations: 0 / 1.317 GB, free: 1.008 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00105/1.182, allocations: 350.9 kB / 1.317 GB, free: 0.6641 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 (93): * Single equations (assignments): 87 * 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.002064/1.184, allocations: 0.6346 MB / 1.318 GB, free: 236 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001818/1.186, allocations: 0.8156 MB / 1.319 GB, free: 15.4 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.186, allocations: 3.906 kB / 1.319 GB, free: 15.4 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/1.187, allocations: 0.4925 MB / 1.319 GB, free: 14.89 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.188, allocations: 294.1 kB / 1.32 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/1.191, allocations: 1.815 MB / 1.321 GB, free: 12.79 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/1.192, allocations: 455.6 kB / 1.322 GB, free: 12.31 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008366/1.193, allocations: 262.5 kB / 1.322 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.193, allocations: 112.4 kB / 1.322 GB, free: 11.94 MB / 1.17 GB Notification: Performance of SimCode: time 6.62e-07/1.193, allocations: 0 / 1.322 GB, free: 11.94 MB / 1.17 GB Notification: Performance of Templates: time 0.0294/1.222, allocations: 15.39 MB / 1.337 GB, free: 12.84 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.63590859004762]