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.002636/0.002636, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.0033/0.0033, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.382/3.382, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.713e-06/1.713e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.888e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.008697/0.008726, allocations: 4.77 MB / 0.8821 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2043/0.213, allocations: 146.3 MB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/0.2139, allocations: 23.81 kB / 1.025 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.2146, allocations: 202.1 kB / 1.025 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.2165, allocations: 0.5746 MB / 1.026 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.2186, allocations: 0.8607 MB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2208, allocations: 1.47 MB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.2216, allocations: 389.9 kB / 1.028 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.2227, allocations: 0.7406 MB / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.2234, allocations: 398.8 kB / 1.029 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.2236, allocations: 124 kB / 1.03 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.2247, allocations: 499.4 kB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.225, allocations: 322.9 kB / 1.03 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.2256, allocations: 387 kB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.2281, allocations: 1.791 MB / 1.032 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2281, allocations: 4 kB / 1.032 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2281, allocations: 0 / 1.032 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.2281, allocations: 0 / 1.032 GB, free: 7.328 MB / 0.9948 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.003098/0.2312, allocations: 1.609 MB / 1.034 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2312, allocations: 8.031 kB / 1.034 GB, free: 5.664 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.2332, allocations: 331.6 kB / 1.034 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.2347, allocations: 0.7364 MB / 1.035 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.2347, allocations: 70.12 kB / 1.035 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2349, allocations: 88 kB / 1.035 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.2369, allocations: 1.215 MB / 1.036 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.2369, allocations: 7.922 kB / 1.036 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.237, allocations: 44 kB / 1.036 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.237, allocations: 24 kB / 1.036 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.2389, allocations: 1.007 MB / 1.037 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.2443, allocations: 3.124 MB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.2461, allocations: 0.7123 MB / 1.041 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.2466, allocations: 267.2 kB / 1.041 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.423e-05/0.2467, allocations: 24.64 kB / 1.041 GB, free: 13.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.2477, allocations: 0.6118 MB / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.435e-06/0.2477, allocations: 0 / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.003346/0.2511, allocations: 1.081 MB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.2512, allocations: 200.9 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2524, allocations: 0.769 MB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.2525, allocations: 53.69 kB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.253, allocations: 495.9 kB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.2533, allocations: 305.6 kB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.2537, allocations: 216.2 kB / 1.045 GB, free: 9.934 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004088/0.2541, allocations: 0.6172 MB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.2546, allocations: 241.9 kB / 1.046 GB, free: 9.066 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.2554, allocations: 0.5092 MB / 1.046 GB, free: 8.504 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2566, allocations: 0.5847 MB / 1.047 GB, free: 7.898 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2566, allocations: 0 / 1.047 GB, free: 7.898 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002207/0.2588, allocations: 0.8792 MB / 1.048 GB, free: 7.008 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2588, allocations: 4 kB / 1.048 GB, free: 7.004 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2588, allocations: 0 / 1.048 GB, free: 7.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.2598, allocations: 143.6 kB / 1.048 GB, free: 6.859 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/0.2608, allocations: 175.8 kB / 1.048 GB, free: 6.688 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.2634, allocations: 2.034 MB / 1.05 GB, free: 4.523 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.2641, allocations: 83.56 kB / 1.05 GB, free: 4.441 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.2642, allocations: 35.97 kB / 1.05 GB, free: 4.406 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.0004813/0.2647, allocations: 279.1 kB / 1.051 GB, free: 4.121 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.2649, allocations: 119.4 kB / 1.051 GB, free: 4.004 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.2674, allocations: 0.9983 MB / 1.052 GB, free: 2.988 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.2674, allocations: 11.94 kB / 1.052 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2674, allocations: 4 kB / 1.052 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.2674, allocations: 7.969 kB / 1.052 GB, free: 2.965 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.2713, allocations: 1.998 MB / 1.054 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2713, allocations: 0 / 1.054 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.2719, allocations: 139.8 kB / 1.054 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007812/0.2727, allocations: 127.6 kB / 1.054 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.2728, allocations: 23.98 kB / 1.054 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4051/0.6779, allocations: 2.055 MB / 1.056 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6779, allocations: 0 / 1.056 GB, free: 217.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.6799, allocations: 1.05 MB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.6804, allocations: 206 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6805, allocations: 19.25 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.681, allocations: 46.88 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6812, allocations: 73.16 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.6812, allocations: 39.83 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005923/0.6818, allocations: 496.3 kB / 1.058 GB, free: 217.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6818, allocations: 0 / 1.058 GB, free: 217.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009706/0.6828, allocations: 344.7 kB / 1.058 GB, free: 217.3 MB / 1.01 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.003221/0.686, allocations: 0.6639 MB / 1.059 GB, free: 217.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.6876, allocations: 0.8784 MB / 1.06 GB, free: 217 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6876, allocations: 0.6562 kB / 1.06 GB, free: 217 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/0.6884, allocations: 0.5655 MB / 1.06 GB, free: 216.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6897, allocations: 323.2 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.6922, allocations: 1.652 MB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.6925, allocations: 441.9 kB / 1.062 GB, free: 215.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006389/0.6932, allocations: 253.3 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.6934, allocations: 110.5 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.232e-06/0.6934, allocations: 0 / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of Templates: time 0.02352/0.7169, allocations: 15.71 MB / 1.078 GB, free: 213.7 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] 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.84519492695108]