Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002402/0.002402, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002804/0.002804, 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.523/1.523, 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 2.959/2.959, allocations: 377.8 MB / 0.6232 GB, free: 8.562 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 1.203 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.446e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008262/0.008286, allocations: 5.097 MB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2508/0.2591, allocations: 146.3 MB / 0.9587 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2602, allocations: 23.81 kB / 0.9587 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2614, allocations: 206.1 kB / 0.9589 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.2641, allocations: 0.5979 MB / 0.9595 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.2664, allocations: 0.888 MB / 0.9603 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.2684, allocations: 1.54 MB / 0.9619 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.2692, allocations: 422.6 kB / 0.9623 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.2704, allocations: 0.7797 MB / 0.963 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009547/0.2713, allocations: 438.6 kB / 0.9634 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.2715, allocations: 128 kB / 0.9636 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2726, allocations: 0.4916 MB / 0.964 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.273, allocations: 326.9 kB / 0.9643 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.2735, allocations: 411 kB / 0.9647 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.2761, allocations: 1.885 MB / 0.9666 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2761, allocations: 0 / 0.9666 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2761, allocations: 0 / 0.9666 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.2761, allocations: 0 / 0.9666 GB, free: 2.078 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003206/0.2793, allocations: 1.672 MB / 0.9682 GB, free: 372 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2793, allocations: 12.03 kB / 0.9682 GB, free: 360 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.281, allocations: 335.5 kB / 0.9685 GB, free: 24 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2824, allocations: 0.7637 MB / 0.9693 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.2825, allocations: 70.12 kB / 0.9694 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.2827, allocations: 96 kB / 0.9694 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.2851, allocations: 1.266 MB / 0.9707 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.2851, allocations: 0 / 0.9707 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.2852, allocations: 40 kB / 0.9707 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.2852, allocations: 24 kB / 0.9707 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.2873, allocations: 1.05 MB / 0.9718 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/0.2932, allocations: 3.129 MB / 0.9748 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.295, allocations: 0.7712 MB / 0.9756 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.2956, allocations: 286.6 kB / 0.9759 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-05/0.2957, allocations: 32.92 kB / 0.9759 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.2968, allocations: 0.6389 MB / 0.9765 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.645e-06/0.2968, allocations: 0 / 0.9765 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.003696/0.3005, allocations: 1.136 MB / 0.9776 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.3007, allocations: 200.9 kB / 0.9778 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.3018, allocations: 0.7924 MB / 0.9786 GB, free: 5.383 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.3019, allocations: 49.7 kB / 0.9786 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/0.3025, allocations: 0.504 MB / 0.9791 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.3028, allocations: 337.3 kB / 0.9794 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.3032, allocations: 228.2 kB / 0.9797 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004417/0.3036, allocations: 0.6211 MB / 0.9803 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.3042, allocations: 253.9 kB / 0.9805 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.3051, allocations: 0.5251 MB / 0.981 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3064, allocations: 0.6202 MB / 0.9816 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3064, allocations: 0 / 0.9816 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002327/0.3087, allocations: 0.9105 MB / 0.9825 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3087, allocations: 4 kB / 0.9825 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3087, allocations: 4 kB / 0.9825 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3097, allocations: 135.7 kB / 0.9827 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.3106, allocations: 191.7 kB / 0.9828 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.3136, allocations: 2.034 MB / 0.9848 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.3144, allocations: 87.56 kB / 0.9849 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.3145, allocations: 35.98 kB / 0.9849 GB, free: 14.61 MB / 0.948 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.0005486/0.315, allocations: 287 kB / 0.9852 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.3153, allocations: 123.3 kB / 0.9853 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.3179, allocations: 1.049 MB / 0.9864 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.3179, allocations: 12 kB / 0.9864 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3179, allocations: 0 / 0.9864 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3179, allocations: 7.922 kB / 0.9864 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.3221, allocations: 2.088 MB / 0.9884 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3221, allocations: 0 / 0.9884 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.3228, allocations: 163.8 kB / 0.9886 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007878/0.3236, allocations: 123.6 kB / 0.9887 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.3237, allocations: 27.98 kB / 0.9887 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.3263, allocations: 2.05 MB / 0.9907 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3263, allocations: 0 / 0.9907 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.3296, allocations: 1.445 MB / 0.9921 GB, free: 7.012 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.3301, allocations: 207 kB / 0.9923 GB, free: 6.809 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.3302, allocations: 27.94 kB / 0.9924 GB, free: 6.781 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.3308, allocations: 55.06 kB / 0.9924 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.331, allocations: 80.84 kB / 0.9925 GB, free: 6.652 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.331, allocations: 40.02 kB / 0.9925 GB, free: 6.613 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007303/0.3318, allocations: 0.4951 MB / 0.993 GB, free: 6.125 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3318, allocations: 3.938 kB / 0.993 GB, free: 6.121 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001055/0.3328, allocations: 359.1 kB / 0.9934 GB, free: 5.77 MB / 0.948 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 (104): * Single equations (assignments): 93 * 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.003519/0.3364, allocations: 0.6602 MB / 0.994 GB, free: 5.309 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.3385, allocations: 0.914 MB / 0.9949 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.3385, allocations: 0 / 0.9949 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.3396, allocations: 0.6027 MB / 0.9955 GB, free: 3.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3411, allocations: 318.4 kB / 0.9958 GB, free: 3.457 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.3449, allocations: 1.841 MB / 0.9976 GB, free: 1.574 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.3454, allocations: 461.9 kB / 0.998 GB, free: 1.098 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007927/0.3462, allocations: 259 kB / 0.9983 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3465, allocations: 112.5 kB / 0.9984 GB, free: 0.7305 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/0.3465, allocations: 3.938 kB / 0.9984 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of Templates: time 0.03453/0.381, allocations: 16.16 MB / 1.014 GB, free: 0.8555 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.944687632960267]