Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00184/0.00184, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002198/0.002198, allocations: 156.6 kB / 23.01 MB, free: 4.945 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.631/2.631, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [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.002104/0.002104, allocations: 71.83 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006998/0.3161, allocations: 4.506 MB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7563/1.072, allocations: 132.7 MB / 1.251 GB, free: 3.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/1.073, allocations: 22.94 kB / 1.251 GB, free: 3.238 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/1.074, allocations: 203.7 kB / 1.252 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/1.075, allocations: 0.5631 MB / 1.252 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/1.077, allocations: 0.8498 MB / 1.253 GB, free: 2.34 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001586/1.079, allocations: 1.395 MB / 1.254 GB, free: 1.613 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/1.08, allocations: 398.5 kB / 1.255 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/1.08, allocations: 0.4984 MB / 1.255 GB, free: 1.129 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006222/1.081, allocations: 454.4 kB / 1.256 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/1.081, allocations: 115.5 kB / 1.256 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/1.082, allocations: 497.8 kB / 1.256 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/1.082, allocations: 295.7 kB / 1.256 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/1.083, allocations: 462.7 kB / 1.257 GB, free: 356 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/1.085, allocations: 1.681 MB / 1.259 GB, free: 15.64 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.085, allocations: 0.6562 kB / 1.259 GB, free: 15.64 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/1.085, allocations: 0 / 1.259 GB, free: 15.64 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.085, allocations: 1.031 kB / 1.259 GB, free: 15.64 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002586/1.088, allocations: 1.408 MB / 1.26 GB, free: 14.72 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.088, allocations: 10.03 kB / 1.26 GB, free: 14.72 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/1.089, allocations: 232.4 kB / 1.26 GB, free: 14.65 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.09, allocations: 0.7166 MB / 1.261 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/1.09, allocations: 60.2 kB / 1.261 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.091, allocations: 81.52 kB / 1.261 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.092, allocations: 1.168 MB / 1.262 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.092, allocations: 0.9688 kB / 1.262 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/1.092, allocations: 33.33 kB / 1.262 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/1.092, allocations: 20.38 kB / 1.262 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.094, allocations: 1.058 MB / 1.263 GB, free: 13.12 MB / 1.123 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.003815/1.098, allocations: 2.156 MB / 1.265 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/1.1, allocations: 0.7302 MB / 1.266 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/1.1, allocations: 268.1 kB / 1.266 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/1.1, allocations: 20.19 kB / 1.266 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009668/1.101, allocations: 0.5946 MB / 1.267 GB, free: 11.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/1.101, allocations: 0 / 1.267 GB, free: 11.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.00327/1.104, allocations: 1.106 MB / 1.268 GB, free: 10.67 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.104, allocations: 189.9 kB / 1.268 GB, free: 10.45 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/1.105, allocations: 0.613 MB / 1.269 GB, free: 10.17 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/1.105, allocations: 43.36 kB / 1.269 GB, free: 10.13 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.106, allocations: 408 kB / 1.269 GB, free: 9.812 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.106, allocations: 267.1 kB / 1.269 GB, free: 9.602 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.106, allocations: 166.7 kB / 1.27 GB, free: 9.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.106, allocations: 380.9 kB / 1.27 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/1.107, allocations: 268.9 kB / 1.27 GB, free: 9.086 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/1.108, allocations: 493.9 kB / 1.271 GB, free: 8.766 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.109, allocations: 0.602 MB / 1.271 GB, free: 8.477 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.109, allocations: 3.25 kB / 1.271 GB, free: 8.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002065/1.111, allocations: 0.8398 MB / 1.272 GB, free: 8.141 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.111, allocations: 16.81 kB / 1.272 GB, free: 8.133 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.111, allocations: 1.312 kB / 1.272 GB, free: 8.133 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/1.112, allocations: 80.2 kB / 1.272 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/1.112, allocations: 167.2 kB / 1.272 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/1.114, allocations: 1.494 MB / 1.274 GB, free: 6.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/1.115, allocations: 84.75 kB / 1.274 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.115, allocations: 33.83 kB / 1.274 GB, free: 6.688 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.000536/1.116, allocations: 275.8 kB / 1.274 GB, free: 6.48 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.116, allocations: 87.91 kB / 1.274 GB, free: 6.434 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/1.119, allocations: 1.041 MB / 1.275 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.119, allocations: 9.719 kB / 1.275 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.119, allocations: 3.688 kB / 1.275 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.119, allocations: 4.5 kB / 1.275 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.12, allocations: 0.6307 MB / 1.276 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.12, allocations: 1.438 kB / 1.276 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/1.12, allocations: 142.8 kB / 1.276 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/1.121, allocations: 73.69 kB / 1.276 GB, free: 5.648 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/1.121, allocations: 24.83 kB / 1.276 GB, free: 5.637 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.123, allocations: 1.529 MB / 1.278 GB, free: 4.254 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.123, allocations: 4.5 kB / 1.278 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/1.125, allocations: 0.9156 MB / 1.279 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/1.125, allocations: 196.5 kB / 1.279 GB, free: 3.746 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.126, allocations: 18.47 kB / 1.279 GB, free: 3.734 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/1.126, allocations: 66.52 kB / 1.279 GB, free: 3.719 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.126, allocations: 70.48 kB / 1.279 GB, free: 3.711 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/1.126, allocations: 37.73 kB / 1.279 GB, free: 3.703 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007023/1.127, allocations: 441.9 kB / 1.279 GB, free: 3.508 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.127, allocations: 0 / 1.279 GB, free: 3.508 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001141/1.128, allocations: 332.8 kB / 1.28 GB, free: 3.414 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.002134/1.13, allocations: 0.6399 MB / 1.28 GB, free: 3.168 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.132, allocations: 0.7975 MB / 1.281 GB, free: 2.828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.132, allocations: 1.406 kB / 1.281 GB, free: 2.828 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009472/1.133, allocations: 488.9 kB / 1.282 GB, free: 2.598 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.135, allocations: 291 kB / 1.282 GB, free: 2.504 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/1.138, allocations: 1.704 MB / 1.283 GB, free: 1.621 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/1.139, allocations: 441.1 kB / 1.284 GB, free: 1.484 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008426/1.139, allocations: 259.9 kB / 1.284 GB, free: 1.406 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.14, allocations: 106.5 kB / 1.284 GB, free: 1.387 MB / 1.123 GB Notification: Performance of SimCode: time 6.01e-07/1.14, allocations: 4 kB / 1.284 GB, free: 1.383 MB / 1.123 GB Notification: Performance of Templates: time 0.0267/1.166, allocations: 15.16 MB / 1.299 GB, free: 12.15 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.3289229569491]