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.001056/0.001056, allocations: 77.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002325, allocations: 453.8 kB / 10.45 MB, free: 248 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.0006798/0.0006798, allocations: 161.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000875/0.001555, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9295/0.9295, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.83/1.83, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5045/2.335, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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 1.523e-06/1.523e-06, allocations: 0.6562 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.618e-05, allocations: 4.703 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002439/0.002455, allocations: 2.289 MB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.1367, allocations: 146.3 MB / 0.8747 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.1369, allocations: 3.938 kB / 0.8747 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.1376, allocations: 0.7871 MB / 0.8755 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.1383, allocations: 0.5256 MB / 0.876 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.139, allocations: 346.4 kB / 0.8763 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.1397, allocations: 0.5886 MB / 0.8769 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1398, allocations: 50.88 kB / 0.8769 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1409, allocations: 0.5418 MB / 0.8775 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1413, allocations: 432 kB / 0.8779 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1413, allocations: 27.94 kB / 0.8779 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.1419, allocations: 303.4 kB / 0.8782 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1421, allocations: 171.8 kB / 0.8784 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1422, allocations: 119.4 kB / 0.8785 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.1431, allocations: 0.5643 MB / 0.879 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.1431, allocations: 3.938 kB / 0.879 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1431, allocations: 0 / 0.879 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.1431, allocations: 0 / 0.879 GB, free: 11.13 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.001175/0.1443, allocations: 1.143 MB / 0.8801 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1443, allocations: 8.031 kB / 0.8802 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.145, allocations: 244.8 kB / 0.8804 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.1454, allocations: 417.4 kB / 0.8808 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1454, allocations: 12.38 kB / 0.8808 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1454, allocations: 20 kB / 0.8808 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1458, allocations: 270.4 kB / 0.8811 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1458, allocations: 4 kB / 0.8811 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1458, allocations: 8 kB / 0.8811 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1458, allocations: 4 kB / 0.8811 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.146, allocations: 139 kB / 0.8812 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.1469, allocations: 0.6812 MB / 0.8819 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1472, allocations: 317.2 kB / 0.8822 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.1473, allocations: 81.67 kB / 0.8823 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1473, allocations: 4 kB / 0.8823 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.1475, allocations: 203.6 kB / 0.8825 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.182e-06/0.1475, allocations: 4 kB / 0.8825 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.001821/0.1494, allocations: 0.5241 MB / 0.883 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1494, allocations: 85.05 kB / 0.8831 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.1499, allocations: 0.8374 MB / 0.8839 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.15, allocations: 33.7 kB / 0.8839 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1501, allocations: 218.3 kB / 0.8841 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.1501, allocations: 99.14 kB / 0.8842 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.1502, allocations: 61.52 kB / 0.8843 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.1503, allocations: 321.9 kB / 0.8846 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1504, allocations: 50.8 kB / 0.8846 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1505, allocations: 124.3 kB / 0.8848 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1507, allocations: 175.3 kB / 0.8849 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1507, allocations: 8 kB / 0.8849 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008114/0.1515, allocations: 335.2 kB / 0.8852 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1515, allocations: 17.44 kB / 0.8853 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1515, allocations: 0 / 0.8853 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.1522, allocations: 191.5 kB / 0.8854 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1524, allocations: 75.88 kB / 0.8855 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.154, allocations: 1.383 MB / 0.8869 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1541, allocations: 31.88 kB / 0.8869 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1542, allocations: 11.98 kB / 0.8869 GB, free: 2.676 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.0001335/0.1543, allocations: 136.5 kB / 0.887 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.1544, allocations: 51.95 kB / 0.8871 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.1553, allocations: 444.2 kB / 0.8875 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1553, allocations: 4 kB / 0.8875 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1553, allocations: 3.984 kB / 0.8875 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1553, allocations: 0 / 0.8875 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1556, allocations: 297.6 kB / 0.8878 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1556, allocations: 0 / 0.8878 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1557, allocations: 71.89 kB / 0.8879 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.1558, allocations: 75.33 kB / 0.8879 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007193/0.1565, allocations: 242.3 kB / 0.8882 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.1566, allocations: 12.11 kB / 0.8882 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.158, allocations: 1.375 MB / 0.8895 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.158, allocations: 0 / 0.8895 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.1588, allocations: 405.3 kB / 0.8899 GB, free: 15.42 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1588, allocations: 11.98 kB / 0.8899 GB, free: 15.41 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1589, allocations: 16 kB / 0.8899 GB, free: 15.39 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.159, allocations: 31.88 kB / 0.89 GB, free: 15.36 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.159, allocations: 11.98 kB / 0.89 GB, free: 15.35 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0003089/0.1593, allocations: 428.5 kB / 0.8904 GB, free: 14.93 MB / 0.8699 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1593, allocations: 0 / 0.8904 GB, free: 14.93 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0003881/0.1597, allocations: 127.8 kB / 0.8905 GB, free: 14.8 MB / 0.8699 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.001607/0.1613, allocations: 0.5825 MB / 0.8911 GB, free: 14.49 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.1619, allocations: 334.3 kB / 0.8914 GB, free: 14.15 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 2.53e-05/0.1619, allocations: 12 kB / 0.8914 GB, free: 14.14 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.1622, allocations: 272.3 kB / 0.8917 GB, free: 13.86 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.163, allocations: 0.5336 MB / 0.8922 GB, free: 13.25 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1654, allocations: 1.199 MB / 0.8934 GB, free: 12.01 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1655, allocations: 185 kB / 0.8935 GB, free: 11.81 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.1657, allocations: 70.91 kB / 0.8936 GB, free: 11.74 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.1659, allocations: 131.3 kB / 0.8937 GB, free: 11.61 MB / 0.8699 GB Notification: Performance of SimCode: time 1.263e-06/0.1659, allocations: 0 / 0.8937 GB, free: 11.61 MB / 0.8699 GB Notification: Performance of Templates: time 0.01268/0.1786, allocations: 10.31 MB / 0.9038 GB, free: 1.449 MB / 0.8699 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.116182933561504]