Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001801/0.001801, allocations: 84.73 kB / 19.44 MB, free: 356 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.002224/0.002224, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.479/1.479, 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.204/3.204, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8776 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.53e-05, allocations: 5.75 kB / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008216/0.008252, allocations: 4.786 MB / 0.8822 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2101/0.2184, allocations: 132.8 MB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.2193, allocations: 19.88 kB / 1.012 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.22, allocations: 213.9 kB / 1.012 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2219, allocations: 0.594 MB / 1.013 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.225, allocations: 0.8802 MB / 1.014 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.2273, allocations: 1.544 MB / 1.015 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/0.2281, allocations: 414.8 kB / 1.016 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.2292, allocations: 0.7797 MB / 1.016 GB, free: 7.977 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.2298, allocations: 426.7 kB / 1.017 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.23, allocations: 128 kB / 1.017 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.231, allocations: 0.4955 MB / 1.017 GB, free: 6.938 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.2314, allocations: 326.9 kB / 1.018 GB, free: 6.617 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.2319, allocations: 422.9 kB / 1.018 GB, free: 6.203 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.2344, allocations: 1.869 MB / 1.02 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2344, allocations: 0 / 1.02 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2344, allocations: 0 / 1.02 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.2344, allocations: 0 / 1.02 GB, free: 4.328 MB / 0.9792 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.003112/0.2375, allocations: 1.495 MB / 1.021 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2375, allocations: 8.031 kB / 1.021 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.2392, allocations: 351.4 kB / 1.022 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2407, allocations: 0.7648 MB / 1.022 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.2407, allocations: 70.12 kB / 1.022 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.2409, allocations: 96 kB / 1.023 GB, free: 1.492 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.243, allocations: 1.228 MB / 1.024 GB, free: 168 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.2431, allocations: 4 kB / 1.024 GB, free: 164 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2432, allocations: 36 kB / 1.024 GB, free: 128 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.2432, allocations: 20 kB / 1.024 GB, free: 108 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.2453, allocations: 1.1 MB / 1.025 GB, free: 15 MB / 0.9948 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.004824/0.2501, allocations: 2.334 MB / 1.027 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.2519, allocations: 0.8445 MB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.2526, allocations: 316.4 kB / 1.028 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.2527, allocations: 36.91 kB / 1.028 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.2538, allocations: 0.6206 MB / 1.029 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=93): time 2.715e-06/0.2538, allocations: 0 / 1.029 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=93): time 0.003752/0.2576, allocations: 1.239 MB / 1.03 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.2577, allocations: 204.8 kB / 1.03 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.2587, allocations: 0.6253 MB / 1.031 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.2588, allocations: 53.7 kB / 1.031 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.2592, allocations: 429.2 kB / 1.031 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.2595, allocations: 317.4 kB / 1.032 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.2598, allocations: 182.6 kB / 1.032 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.2601, allocations: 394.7 kB / 1.032 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.2608, allocations: 301.8 kB / 1.033 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.2617, allocations: 0.523 MB / 1.033 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.2631, allocations: 0.6755 MB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2631, allocations: 0 / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002487/0.2656, allocations: 0.9898 MB / 1.035 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2656, allocations: 4 kB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2656, allocations: 4 kB / 1.035 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.2667, allocations: 128.8 kB / 1.035 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.2675, allocations: 183.7 kB / 1.035 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.27, allocations: 1.504 MB / 1.036 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.2708, allocations: 103 kB / 1.037 GB, free: 2.676 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.276e-05/0.2709, allocations: 43.97 kB / 1.037 GB, free: 2.633 MB / 0.9948 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.0004752/0.2713, allocations: 276.2 kB / 1.037 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.2716, allocations: 127.4 kB / 1.037 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.2744, allocations: 1.121 MB / 1.038 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2744, allocations: 8 kB / 1.038 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2745, allocations: 0 / 1.038 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.2745, allocations: 7.969 kB / 1.038 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.2786, allocations: 1.95 MB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2786, allocations: 4 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/0.2793, allocations: 167.7 kB / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.2801, allocations: 116.8 kB / 1.04 GB, free: 14.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.2802, allocations: 23.98 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.2825, allocations: 1.536 MB / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2825, allocations: 4.062 kB / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.2858, allocations: 1.516 MB / 1.043 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/0.2863, allocations: 211.1 kB / 1.043 GB, free: 11.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2865, allocations: 23.94 kB / 1.043 GB, free: 11.35 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.2872, allocations: 67.98 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.2873, allocations: 76.86 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.2874, allocations: 35.97 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008854/0.2883, allocations: 455 kB / 1.044 GB, free: 10.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2883, allocations: 3.938 kB / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001015/0.2893, allocations: 359.1 kB / 1.044 GB, free: 10.38 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 (103): * Single equations (assignments): 92 * 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.002473/0.2918, allocations: 0.6544 MB / 1.045 GB, free: 9.934 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.2938, allocations: 0.8703 MB / 1.046 GB, free: 9.051 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2938, allocations: 0 / 1.046 GB, free: 9.051 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2948, allocations: 0.5195 MB / 1.046 GB, free: 8.523 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.2962, allocations: 328.6 kB / 1.047 GB, free: 8.215 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.3, allocations: 1.909 MB / 1.049 GB, free: 6.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.3006, allocations: 462.2 kB / 1.049 GB, free: 5.793 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008039/0.3014, allocations: 266.9 kB / 1.049 GB, free: 5.527 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.3017, allocations: 108.5 kB / 1.049 GB, free: 5.422 MB / 1.01 GB Notification: Performance of SimCode: time 7.22e-07/0.3017, allocations: 0 / 1.049 GB, free: 5.422 MB / 1.01 GB Notification: Performance of Templates: time 0.3662/0.6679, allocations: 16.07 MB / 1.065 GB, free: 216.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.348532265983522]