Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001825/0.001825, allocations: 85.48 kB / 19.44 MB, free: 332 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.002066/0.002066, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.336/3.336, allocations: 429.5 MB / 0.6729 GB, free: 4 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.619e-05, allocations: 2.844 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008245/0.008271, allocations: 4.965 MB / 0.8823 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2076/0.2159, allocations: 146.3 MB / 1.025 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008471/0.2167, allocations: 23.81 kB / 1.025 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.2174, allocations: 206.1 kB / 1.025 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.2193, allocations: 0.5939 MB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.2214, allocations: 0.8763 MB / 1.027 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.2236, allocations: 1.513 MB / 1.028 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007953/0.2244, allocations: 406.2 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.2256, allocations: 0.7641 MB / 1.029 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.2263, allocations: 418.8 kB / 1.03 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.2265, allocations: 124 kB / 1.03 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2276, allocations: 0.4993 MB / 1.03 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.228, allocations: 319 kB / 1.031 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.2285, allocations: 406.9 kB / 1.031 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.2312, allocations: 1.846 MB / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2312, allocations: 0 / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2312, allocations: 0 / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.2312, allocations: 3.938 kB / 1.033 GB, free: 6.867 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003184/0.2344, allocations: 1.644 MB / 1.035 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2344, allocations: 12.03 kB / 1.035 GB, free: 5.164 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.236, allocations: 335.5 kB / 1.035 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.2378, allocations: 0.7443 MB / 1.036 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.2379, allocations: 74.12 kB / 1.036 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.238, allocations: 92 kB / 1.036 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.24, allocations: 1.243 MB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.2401, allocations: 7.891 kB / 1.037 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.2402, allocations: 40 kB / 1.037 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.2402, allocations: 24 kB / 1.037 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.2421, allocations: 1.034 MB / 1.038 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.2474, allocations: 3.071 MB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.249, allocations: 0.7383 MB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/0.2498, allocations: 289.3 kB / 1.042 GB, free: 13.24 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.2499, allocations: 24.98 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.2509, allocations: 0.6306 MB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.364e-06/0.2509, allocations: 0 / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.003368/0.2543, allocations: 1.105 MB / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.2544, allocations: 200.9 kB / 1.044 GB, free: 11.19 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2555, allocations: 0.7768 MB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.2556, allocations: 45.7 kB / 1.045 GB, free: 10.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.2561, allocations: 0.4921 MB / 1.045 GB, free: 9.844 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.2565, allocations: 329.4 kB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.2568, allocations: 220.2 kB / 1.046 GB, free: 9.297 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004338/0.2573, allocations: 0.621 MB / 1.046 GB, free: 8.664 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.2578, allocations: 249.8 kB / 1.047 GB, free: 8.418 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.2586, allocations: 0.5134 MB / 1.047 GB, free: 7.855 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.2598, allocations: 0.5967 MB / 1.048 GB, free: 7.246 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2599, allocations: 0 / 1.048 GB, free: 7.246 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00226/0.2621, allocations: 0.8911 MB / 1.049 GB, free: 6.344 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2621, allocations: 4 kB / 1.049 GB, free: 6.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2621, allocations: 4 kB / 1.049 GB, free: 6.336 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009899/0.2631, allocations: 135.6 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.264, allocations: 187.8 kB / 1.049 GB, free: 6.016 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.2667, allocations: 2.038 MB / 1.051 GB, free: 3.848 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.2674, allocations: 83.58 kB / 1.051 GB, free: 3.766 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.302e-05/0.2675, allocations: 35.98 kB / 1.051 GB, free: 3.73 MB / 1.01 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 (110): * Single equations (assignments): 109 * 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.0005044/0.268, allocations: 287 kB / 1.051 GB, free: 3.441 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.2683, allocations: 119.4 kB / 1.051 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.2708, allocations: 1.022 MB / 1.052 GB, free: 2.281 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.2708, allocations: 12 kB / 1.052 GB, free: 2.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2708, allocations: 0 / 1.052 GB, free: 2.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2708, allocations: 3.984 kB / 1.052 GB, free: 2.266 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/0.2749, allocations: 2.041 MB / 1.054 GB, free: 172 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2749, allocations: 0 / 1.054 GB, free: 172 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.2756, allocations: 155.7 kB / 1.055 GB, free: 16 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3982/0.6738, allocations: 119.7 kB / 1.055 GB, free: 219.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.674, allocations: 30.59 kB / 1.055 GB, free: 219.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.6757, allocations: 2.052 MB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6757, allocations: 0 / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.6781, allocations: 1.4 MB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.6785, allocations: 211.1 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.6786, allocations: 25.09 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.6792, allocations: 44.73 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6793, allocations: 79.47 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/0.6794, allocations: 38.06 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005411/0.6799, allocations: 0.4914 MB / 1.059 GB, free: 217 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6799, allocations: 0 / 1.059 GB, free: 217 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009016/0.6808, allocations: 353.8 kB / 1.059 GB, free: 217 MB / 1.01 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 (100): * Single equations (assignments): 89 * 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.003322/0.6841, allocations: 0.6589 MB / 1.06 GB, free: 216.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6856, allocations: 0.8863 MB / 1.061 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6856, allocations: 1.625 kB / 1.061 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.6864, allocations: 0.5833 MB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6876, allocations: 335.3 kB / 1.062 GB, free: 216.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.6901, allocations: 1.753 MB / 1.063 GB, free: 215.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.6905, allocations: 445.9 kB / 1.064 GB, free: 215 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006203/0.6911, allocations: 256.4 kB / 1.064 GB, free: 215 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.6913, allocations: 109.5 kB / 1.064 GB, free: 215 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/0.6913, allocations: 0 / 1.064 GB, free: 215 MB / 1.01 GB Notification: Performance of Templates: time 0.0258/0.7171, allocations: 15.95 MB / 1.08 GB, free: 213.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.675226193037815]