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.00176/0.00176, allocations: 76.94 kB / 19.18 MB, free: 2.52 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.002075/0.002075, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.529e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006863/0.006888, allocations: 4.781 MB / 0.9861 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.1886, allocations: 132.8 MB / 1.116 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.1901, allocations: 23.81 kB / 1.116 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007473/0.1908, allocations: 206.1 kB / 1.116 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.193, allocations: 0.6056 MB / 1.117 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.1951, allocations: 0.888 MB / 1.117 GB, free: 148 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.197, allocations: 1.54 MB / 1.119 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008264/0.1978, allocations: 414.8 kB / 1.119 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.199, allocations: 0.7874 MB / 1.12 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.1997, allocations: 426.8 kB / 1.121 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.1999, allocations: 128 kB / 1.121 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.201, allocations: 0.4955 MB / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.2013, allocations: 322.9 kB / 1.121 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.2018, allocations: 422.9 kB / 1.122 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.2043, allocations: 1.877 MB / 1.124 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2043, allocations: 0 / 1.124 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2043, allocations: 0 / 1.124 GB, free: 9.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.2043, allocations: 0 / 1.124 GB, free: 9.723 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002906/0.2072, allocations: 1.491 MB / 1.125 GB, free: 8.195 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2073, allocations: 8.031 kB / 1.125 GB, free: 8.188 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.2089, allocations: 240 kB / 1.125 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.2105, allocations: 0.7414 MB / 1.126 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/0.2106, allocations: 78.06 kB / 1.126 GB, free: 7.109 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.2108, allocations: 95.98 kB / 1.126 GB, free: 7.016 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.2128, allocations: 1.224 MB / 1.127 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.2128, allocations: 3.938 kB / 1.127 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.2129, allocations: 40 kB / 1.127 GB, free: 5.645 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.2129, allocations: 20 kB / 1.128 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.2149, allocations: 1.097 MB / 1.129 GB, free: 4.531 MB / 1.076 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.004785/0.2197, allocations: 2.303 MB / 1.131 GB, free: 2.172 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.2215, allocations: 0.8486 MB / 1.132 GB, free: 1.316 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.2222, allocations: 311.7 kB / 1.132 GB, free: 1.012 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.575e-05/0.2223, allocations: 32.91 kB / 1.132 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2233, allocations: 0.6245 MB / 1.133 GB, free: 320 kB / 1.076 GB Notification: Performance of pre-optimization done (n=93): time 3.346e-06/0.2233, allocations: 0 / 1.133 GB, free: 320 kB / 1.076 GB Notification: Performance of matching and sorting (n=93): time 0.5568/0.7801, allocations: 1.217 MB / 1.134 GB, free: 195.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.7802, allocations: 198 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.781, allocations: 0.6366 MB / 1.135 GB, free: 194.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.7811, allocations: 50.55 kB / 1.135 GB, free: 194.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.7814, allocations: 424.6 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.7815, allocations: 307.5 kB / 1.135 GB, free: 194.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.7818, allocations: 185.4 kB / 1.136 GB, free: 194.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7819, allocations: 399.4 kB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.7824, allocations: 301.3 kB / 1.136 GB, free: 193.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.7831, allocations: 0.5278 MB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.7841, allocations: 0.6691 MB / 1.137 GB, free: 193 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7841, allocations: 0 / 1.137 GB, free: 193 MB / 1.076 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001951/0.7861, allocations: 0.9564 MB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7861, allocations: 6.594 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7861, allocations: 3 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.7867, allocations: 85.72 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.7874, allocations: 181.7 kB / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.7893, allocations: 1.51 MB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/0.7901, allocations: 95.11 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.7901, allocations: 40.66 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 112 * 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.000422/0.7906, allocations: 284.9 kB / 1.14 GB, free: 191 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.7907, allocations: 92.59 kB / 1.141 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.7929, allocations: 1.117 MB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.7929, allocations: 13.64 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7929, allocations: 3.938 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7929, allocations: 3.328 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.796, allocations: 1.955 MB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.796, allocations: 0 / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.7966, allocations: 161.2 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.7971, allocations: 76.25 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.7971, allocations: 27.66 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.7986, allocations: 1.526 MB / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7986, allocations: 0 / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.8012, allocations: 1.486 MB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.8016, allocations: 205.8 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.8017, allocations: 33.2 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.8023, allocations: 66.2 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.8025, allocations: 84.58 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.8026, allocations: 35.48 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005026/0.8031, allocations: 453.9 kB / 1.148 GB, free: 187.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8031, allocations: 0.9844 kB / 1.148 GB, free: 187.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009573/0.804, allocations: 353.8 kB / 1.148 GB, free: 187.1 MB / 1.076 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002055/0.8061, allocations: 0.6671 MB / 1.149 GB, free: 186.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.8078, allocations: 0.8708 MB / 1.149 GB, free: 186.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8078, allocations: 6.5 kB / 1.149 GB, free: 186.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.8086, allocations: 0.5228 MB / 1.15 GB, free: 186.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.8099, allocations: 299.5 kB / 1.15 GB, free: 186.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.8129, allocations: 1.885 MB / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.8132, allocations: 462.4 kB / 1.152 GB, free: 185.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006884/0.8139, allocations: 272 kB / 1.153 GB, free: 185.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.8142, allocations: 115.1 kB / 1.153 GB, free: 185.1 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.8142, allocations: 0 / 1.153 GB, free: 185.1 MB / 1.076 GB Notification: Performance of Templates: time 0.02771/0.8419, allocations: 16.02 MB / 1.169 GB, free: 183.1 MB / 1.076 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.592092655599117]