Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.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.0007319/0.0007319, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009523/0.001684, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006898/0.0006898, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008653/0.001555, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.953/0.953, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08234/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.793/1.793, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4622/2.255, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 4 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.549e-05, allocations: 3.484 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.005815/0.005831, allocations: 2.269 MB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.1463, allocations: 146.3 MB / 0.8744 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1465, allocations: 3.938 kB / 0.8744 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.1472, allocations: 0.7832 MB / 0.8751 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.1477, allocations: 0.5256 MB / 0.8757 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1481, allocations: 338.5 kB / 0.876 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1485, allocations: 0.5809 MB / 0.8765 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1487, allocations: 58.8 kB / 0.8766 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.1495, allocations: 0.5418 MB / 0.8771 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1498, allocations: 436 kB / 0.8775 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.1499, allocations: 24 kB / 0.8776 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.1502, allocations: 307.3 kB / 0.8779 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1504, allocations: 171.8 kB / 0.878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.1505, allocations: 107.5 kB / 0.8781 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.151, allocations: 0.5798 MB / 0.8787 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.151, allocations: 3.984 kB / 0.8787 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.151, allocations: 0 / 0.8787 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.151, allocations: 0 / 0.8787 GB, free: 11.25 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001027/0.152, allocations: 1.143 MB / 0.8798 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1521, allocations: 8.031 kB / 0.8798 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.1527, allocations: 244.8 kB / 0.8801 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.153, allocations: 409.4 kB / 0.8804 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.153, allocations: 24.3 kB / 0.8805 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.153, allocations: 20 kB / 0.8805 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1534, allocations: 269.1 kB / 0.8807 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1534, allocations: 4 kB / 0.8807 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1534, allocations: 8 kB / 0.8808 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1534, allocations: 4 kB / 0.8808 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1536, allocations: 139 kB / 0.8809 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.1544, allocations: 0.6812 MB / 0.8816 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.1547, allocations: 309.2 kB / 0.8819 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.1548, allocations: 81.69 kB / 0.8819 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1549, allocations: 4 kB / 0.8819 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.1551, allocations: 203.6 kB / 0.8821 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.1551, allocations: 0 / 0.8821 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.001824/0.1569, allocations: 0.5218 MB / 0.8826 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1569, allocations: 89.03 kB / 0.8827 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.1574, allocations: 0.8335 MB / 0.8835 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1574, allocations: 33.7 kB / 0.8836 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1575, allocations: 210.3 kB / 0.8838 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.1576, allocations: 107.1 kB / 0.8839 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.1577, allocations: 65.52 kB / 0.8839 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1578, allocations: 317.9 kB / 0.8842 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.1579, allocations: 50.8 kB / 0.8843 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.158, allocations: 120.3 kB / 0.8844 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1581, allocations: 184.3 kB / 0.8846 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1581, allocations: 0 / 0.8846 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007848/0.1589, allocations: 338.8 kB / 0.8849 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1589, allocations: 13.17 kB / 0.8849 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.159, allocations: 8.062 kB / 0.8849 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.1596, allocations: 187.5 kB / 0.8851 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1597, allocations: 71.89 kB / 0.8852 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.1612, allocations: 1.387 MB / 0.8865 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1613, allocations: 27.88 kB / 0.8865 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.1613, allocations: 11.98 kB / 0.8866 GB, free: 2.809 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1614, allocations: 144.5 kB / 0.8867 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.1615, allocations: 59.92 kB / 0.8868 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008855/0.1624, allocations: 428.2 kB / 0.8872 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1624, allocations: 11.94 kB / 0.8872 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1624, allocations: 0 / 0.8872 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1624, allocations: 4 kB / 0.8872 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1626, allocations: 301.6 kB / 0.8875 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1627, allocations: 0 / 0.8875 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1629, allocations: 63.89 kB / 0.8875 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.163, allocations: 79.33 kB / 0.8876 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/0.1636, allocations: 242.3 kB / 0.8878 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.1636, allocations: 15.97 kB / 0.8878 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.165, allocations: 1.382 MB / 0.8892 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.165, allocations: 0 / 0.8892 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.1658, allocations: 392.7 kB / 0.8896 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.1658, allocations: 15.98 kB / 0.8896 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1659, allocations: 15.98 kB / 0.8896 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.166, allocations: 31.89 kB / 0.8896 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.166, allocations: 15.98 kB / 0.8896 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002589/0.1663, allocations: 428.5 kB / 0.8901 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1663, allocations: 0 / 0.8901 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000271/0.1665, allocations: 119.8 kB / 0.8902 GB, free: 14.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.1678, allocations: 0.5907 MB / 0.8907 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.1682, allocations: 329.6 kB / 0.8911 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.1682, allocations: 12 kB / 0.8911 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.1684, allocations: 247.6 kB / 0.8913 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1687, allocations: 177.9 kB / 0.8915 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1709, allocations: 1.2 MB / 0.8926 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.171, allocations: 185 kB / 0.8928 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.1712, allocations: 70.88 kB / 0.8929 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.1714, allocations: 131.3 kB / 0.893 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/0.1714, allocations: 0 / 0.893 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01272/0.1841, allocations: 11.75 MB / 0.9045 GB, free: 0.5938 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.133882071822882]