Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.0009565/0.0009565, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001003/0.001003, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9083/0.9083, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.869e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005084/0.005113, allocations: 4.499 MB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.689/0.6941, allocations: 132.7 MB / 1.135 GB, free: 14.95 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.6949, allocations: 23.09 kB / 1.135 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.6954, allocations: 203.8 kB / 1.135 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6968, allocations: 0.5824 MB / 1.136 GB, free: 14.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.6984, allocations: 0.8598 MB / 1.136 GB, free: 14.01 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.6996, allocations: 1.463 MB / 1.138 GB, free: 13.23 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.7002, allocations: 392.2 kB / 1.138 GB, free: 13.01 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.7009, allocations: 0.7346 MB / 1.139 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.7013, allocations: 404.9 kB / 1.139 GB, free: 12.51 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.7015, allocations: 121.3 kB / 1.14 GB, free: 12.51 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.7022, allocations: 0.4993 MB / 1.14 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.7024, allocations: 308.9 kB / 1.14 GB, free: 12.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.7027, allocations: 390.6 kB / 1.141 GB, free: 12 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.7045, allocations: 1.793 MB / 1.142 GB, free: 11.25 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7045, allocations: 0 / 1.142 GB, free: 11.25 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7045, allocations: 1.438 kB / 1.142 GB, free: 11.25 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7045, allocations: 0 / 1.142 GB, free: 11.25 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001727/0.7062, allocations: 1.422 MB / 1.144 GB, free: 10.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7063, allocations: 10.91 kB / 1.144 GB, free: 10.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.707, allocations: 234.3 kB / 1.144 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.708, allocations: 0.7213 MB / 1.145 GB, free: 9.797 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.7081, allocations: 71.19 kB / 1.145 GB, free: 9.766 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.7081, allocations: 90.44 kB / 1.145 GB, free: 9.734 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7094, allocations: 1.194 MB / 1.146 GB, free: 8.98 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.7094, allocations: 0 / 1.146 GB, free: 8.98 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.7095, allocations: 38.08 kB / 1.146 GB, free: 8.953 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.7095, allocations: 21.34 kB / 1.146 GB, free: 8.953 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.7108, allocations: 1.053 MB / 1.147 GB, free: 8.703 MB / 1.01 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.002886/0.7137, allocations: 2.293 MB / 1.149 GB, free: 7.316 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.7148, allocations: 0.7735 MB / 1.15 GB, free: 7.023 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.7152, allocations: 296 kB / 1.15 GB, free: 6.902 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.7152, allocations: 22.92 kB / 1.15 GB, free: 6.902 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/0.7159, allocations: 0.6058 MB / 1.151 GB, free: 6.57 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.484e-06/0.7159, allocations: 1.094 kB / 1.151 GB, free: 6.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001913/0.7178, allocations: 1.154 MB / 1.152 GB, free: 6.152 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.7179, allocations: 199.4 kB / 1.152 GB, free: 5.926 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.7184, allocations: 0.6138 MB / 1.153 GB, free: 5.652 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.7185, allocations: 50.16 kB / 1.153 GB, free: 5.605 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.7189, allocations: 409.9 kB / 1.153 GB, free: 5.285 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.719, allocations: 285.6 kB / 1.154 GB, free: 5.059 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7192, allocations: 180.3 kB / 1.154 GB, free: 4.977 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7193, allocations: 386.8 kB / 1.154 GB, free: 4.633 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.7199, allocations: 285.5 kB / 1.154 GB, free: 4.535 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.7204, allocations: 0.512 MB / 1.155 GB, free: 4.203 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.7211, allocations: 0.6492 MB / 1.156 GB, free: 3.895 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7211, allocations: 2.047 kB / 1.156 GB, free: 3.895 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001261/0.7224, allocations: 0.926 MB / 1.157 GB, free: 3.512 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7224, allocations: 8.266 kB / 1.157 GB, free: 3.512 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7224, allocations: 1.688 kB / 1.157 GB, free: 3.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.7227, allocations: 83.97 kB / 1.157 GB, free: 3.492 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.7231, allocations: 160 kB / 1.157 GB, free: 3.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.7244, allocations: 1.506 MB / 1.158 GB, free: 2.113 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.7247, allocations: 99.02 kB / 1.158 GB, free: 2.062 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.7248, allocations: 34.8 kB / 1.158 GB, free: 2.059 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0002784/0.7251, allocations: 273.5 kB / 1.159 GB, free: 1.859 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.7252, allocations: 87.33 kB / 1.159 GB, free: 1.812 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.7266, allocations: 1.076 MB / 1.16 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7266, allocations: 9.766 kB / 1.16 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7266, allocations: 0 / 1.16 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7266, allocations: 5.906 kB / 1.16 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.729, allocations: 1.872 MB / 1.162 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.729, allocations: 0.75 kB / 1.162 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.7293, allocations: 146.1 kB / 1.162 GB, free: 464 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.7296, allocations: 69.44 kB / 1.162 GB, free: 448 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.7296, allocations: 28.66 kB / 1.162 GB, free: 436 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.7307, allocations: 1.533 MB / 1.163 GB, free: 15.04 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7307, allocations: 4.672 kB / 1.163 GB, free: 15.03 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.7319, allocations: 1.014 MB / 1.164 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.7321, allocations: 201.5 kB / 1.165 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.7322, allocations: 24.45 kB / 1.165 GB, free: 14.44 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.7325, allocations: 60.38 kB / 1.165 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.7327, allocations: 80.5 kB / 1.165 GB, free: 14.41 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.7327, allocations: 37.23 kB / 1.165 GB, free: 14.4 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003916/0.7331, allocations: 439.5 kB / 1.165 GB, free: 14.21 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7331, allocations: 0 / 1.165 GB, free: 14.21 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007257/0.7338, allocations: 338.7 kB / 1.165 GB, free: 14.11 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (96): * Single equations (assignments): 85 * 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.00104/0.7349, allocations: 0.6618 MB / 1.166 GB, free: 13.84 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7359, allocations: 0.8334 MB / 1.167 GB, free: 13.5 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7359, allocations: 1.125 kB / 1.167 GB, free: 13.5 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.7365, allocations: 0.491 MB / 1.167 GB, free: 13.27 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.7372, allocations: 294.5 kB / 1.168 GB, free: 13.18 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.7393, allocations: 1.741 MB / 1.169 GB, free: 12.25 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.7396, allocations: 441.9 kB / 1.17 GB, free: 12.12 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.7398, allocations: 121.2 kB / 1.17 GB, free: 12.1 MB / 1.026 GB Notification: Performance of SimCode: time 6.82e-07/0.7398, allocations: 0 / 1.17 GB, free: 12.1 MB / 1.026 GB Notification: Performance of Templates: time 0.01694/0.7568, allocations: 19.24 MB / 1.189 GB, free: 5.723 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.289862393401563]