Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001835/0.001835, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00192/0.00192, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.631/1.631, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.028/3.028, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.365e-05, allocations: 6.234 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007918/0.007952, allocations: 4.773 MB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2017/0.2096, allocations: 146.2 MB / 0.9582 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008526/0.2105, allocations: 23.81 kB / 0.9583 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008467/0.2113, allocations: 214.1 kB / 0.9585 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.2135, allocations: 0.5746 MB / 0.959 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.2157, allocations: 0.8569 MB / 0.9599 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2179, allocations: 1.463 MB / 0.9613 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009707/0.2189, allocations: 405.9 kB / 0.9617 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.2205, allocations: 0.7406 MB / 0.9624 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000976/0.2215, allocations: 410.8 kB / 0.9628 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.2218, allocations: 120 kB / 0.9629 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.2232, allocations: 0.4954 MB / 0.9634 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.2236, allocations: 303 kB / 0.9637 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007633/0.2244, allocations: 395 kB / 0.9641 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.2274, allocations: 1.791 MB / 0.9658 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2274, allocations: 7.922 kB / 0.9658 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2274, allocations: 0 / 0.9658 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.395e-05/0.2274, allocations: 0 / 0.9658 GB, free: 2.836 MB / 0.9167 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.003531/0.231, allocations: 1.605 MB / 0.9674 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.231, allocations: 8.031 kB / 0.9674 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2327, allocations: 327.5 kB / 0.9677 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.2342, allocations: 0.7365 MB / 0.9684 GB, free: 96 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.2343, allocations: 74.11 kB / 0.9685 GB, free: 24 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.2345, allocations: 92.05 kB / 0.9686 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.2367, allocations: 1.223 MB / 0.9698 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2367, allocations: 0 / 0.9698 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.2368, allocations: 40 kB / 0.9698 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2368, allocations: 20 kB / 0.9698 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.2388, allocations: 1.011 MB / 0.9708 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005628/0.2444, allocations: 3.132 MB / 0.9739 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.2459, allocations: 0.7083 MB / 0.9746 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.2465, allocations: 267.2 kB / 0.9748 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.2465, allocations: 28.62 kB / 0.9749 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.2476, allocations: 0.6158 MB / 0.9755 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.915e-06/0.2476, allocations: 0 / 0.9755 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.003429/0.251, allocations: 1.074 MB / 0.9765 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.2512, allocations: 208.8 kB / 0.9767 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2522, allocations: 0.769 MB / 0.9775 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.2523, allocations: 45.7 kB / 0.9775 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.2528, allocations: 495.9 kB / 0.978 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.2531, allocations: 313.6 kB / 0.9783 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.2535, allocations: 216.2 kB / 0.9785 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004075/0.2539, allocations: 0.6133 MB / 0.9791 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.2545, allocations: 249.8 kB / 0.9793 GB, free: 4.562 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.2553, allocations: 0.5053 MB / 0.9798 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2565, allocations: 0.5964 MB / 0.9804 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2565, allocations: 0 / 0.9804 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00222/0.2587, allocations: 0.8676 MB / 0.9812 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2587, allocations: 15.94 kB / 0.9813 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2587, allocations: 0 / 0.9813 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.2597, allocations: 135.6 kB / 0.9814 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.2605, allocations: 179.8 kB / 0.9816 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.2633, allocations: 2.034 MB / 0.9835 GB, free: 20 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.264, allocations: 75.75 kB / 0.9836 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.2641, allocations: 39.97 kB / 0.9837 GB, free: 15.9 MB / 0.948 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.0004418/0.2645, allocations: 279 kB / 0.9839 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.2648, allocations: 119.5 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.2673, allocations: 1.002 MB / 0.985 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2673, allocations: 12 kB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2673, allocations: 0 / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.2673, allocations: 7.969 kB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.2714, allocations: 2.006 MB / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2714, allocations: 0 / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.272, allocations: 143.8 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/0.2728, allocations: 123.6 kB / 0.9872 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.2728, allocations: 23.98 kB / 0.9873 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.2754, allocations: 2.055 MB / 0.9893 GB, free: 9.918 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2754, allocations: 0 / 0.9893 GB, free: 9.918 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.2778, allocations: 1.06 MB / 0.9903 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.2783, allocations: 191.1 kB / 0.9905 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.2785, allocations: 31.92 kB / 0.9905 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.279, allocations: 47.97 kB / 0.9906 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.2792, allocations: 72.92 kB / 0.9906 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.2793, allocations: 43.91 kB / 0.9907 GB, free: 8.453 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007316/0.28, allocations: 0.4911 MB / 0.9912 GB, free: 7.965 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.28, allocations: 0 / 0.9912 GB, free: 7.965 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001034/0.2811, allocations: 343.1 kB / 0.9915 GB, free: 7.629 MB / 0.948 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 (97): * Single equations (assignments): 86 * 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.003547/0.2846, allocations: 0.6626 MB / 0.9921 GB, free: 7.172 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.2866, allocations: 0.8711 MB / 0.993 GB, free: 6.281 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2866, allocations: 0 / 0.993 GB, free: 6.281 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2877, allocations: 0.5754 MB / 0.9935 GB, free: 5.684 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.2892, allocations: 312.1 kB / 0.9938 GB, free: 5.406 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.2926, allocations: 1.67 MB / 0.9955 GB, free: 3.695 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.2931, allocations: 444.3 kB / 0.9959 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.2939, allocations: 250.6 kB / 0.9961 GB, free: 2.977 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.2942, allocations: 112.4 kB / 0.9962 GB, free: 2.867 MB / 0.948 GB Notification: Performance of SimCode: time 1.203e-06/0.2942, allocations: 0 / 0.9962 GB, free: 2.867 MB / 0.948 GB Notification: Performance of Templates: time 0.03129/0.3255, allocations: 15.75 MB / 1.012 GB, free: 3.402 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.992829772061668]