Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008314/0.0008314, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001936, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007357/0.0007357, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009871/0.001723, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.938/0.938, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08157/1.02, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.286/2.286, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2147/2.501, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.854e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003281/0.003309, allocations: 2.269 MB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.1389, allocations: 146.3 MB / 0.9633 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1391, allocations: 7.938 kB / 0.9633 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.1397, allocations: 0.7793 MB / 0.9641 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.1403, allocations: 0.5218 MB / 0.9646 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.1411, allocations: 338.4 kB / 0.9649 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1416, allocations: 0.5925 MB / 0.9655 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1417, allocations: 58.84 kB / 0.9656 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.1427, allocations: 0.535 MB / 0.9661 GB, free: 11.02 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.143, allocations: 440 kB / 0.9665 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1431, allocations: 24 kB / 0.9665 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1437, allocations: 299.4 kB / 0.9668 GB, free: 10.27 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1438, allocations: 171.8 kB / 0.967 GB, free: 10.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1439, allocations: 111.5 kB / 0.9671 GB, free: 9.996 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.1446, allocations: 0.572 MB / 0.9677 GB, free: 9.422 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.8e-05/0.1446, allocations: 4 kB / 0.9677 GB, free: 9.418 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1446, allocations: 0 / 0.9677 GB, free: 9.418 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.1446, allocations: 0 / 0.9677 GB, free: 9.418 MB / 0.948 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.00113/0.1457, allocations: 1.143 MB / 0.9688 GB, free: 8.246 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1458, allocations: 8.625 kB / 0.9688 GB, free: 8.238 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.1466, allocations: 256.8 kB / 0.969 GB, free: 7.969 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.147, allocations: 417.3 kB / 0.9694 GB, free: 7.531 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.147, allocations: 16.38 kB / 0.9694 GB, free: 7.516 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.147, allocations: 19.94 kB / 0.9695 GB, free: 7.496 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.1476, allocations: 269.4 kB / 0.9697 GB, free: 7.215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1476, allocations: 4 kB / 0.9697 GB, free: 7.211 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1476, allocations: 11.98 kB / 0.9697 GB, free: 7.199 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1476, allocations: 7.984 kB / 0.9697 GB, free: 7.191 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1479, allocations: 143 kB / 0.9699 GB, free: 7.051 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.149, allocations: 0.6774 MB / 0.9705 GB, free: 6.348 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.1493, allocations: 309.1 kB / 0.9708 GB, free: 6.023 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.1494, allocations: 91.08 kB / 0.9709 GB, free: 5.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1494, allocations: 4 kB / 0.9709 GB, free: 5.926 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1496, allocations: 203.6 kB / 0.9711 GB, free: 5.707 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1496, allocations: 0 / 0.9711 GB, free: 5.707 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.001851/0.1515, allocations: 0.5246 MB / 0.9716 GB, free: 5.172 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1515, allocations: 85.05 kB / 0.9717 GB, free: 5.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.1521, allocations: 0.8335 MB / 0.9725 GB, free: 4.227 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1522, allocations: 37.64 kB / 0.9726 GB, free: 4.184 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1523, allocations: 218.3 kB / 0.9728 GB, free: 3.965 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1523, allocations: 99.14 kB / 0.9729 GB, free: 3.867 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1524, allocations: 61.66 kB / 0.9729 GB, free: 3.801 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.1525, allocations: 321.9 kB / 0.9732 GB, free: 3.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.1525, allocations: 50.8 kB / 0.9733 GB, free: 3.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1526, allocations: 132.3 kB / 0.9734 GB, free: 3.277 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1528, allocations: 183.9 kB / 0.9736 GB, free: 3.082 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1528, allocations: 0 / 0.9736 GB, free: 3.082 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007866/0.1536, allocations: 342.5 kB / 0.9739 GB, free: 2.734 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1536, allocations: 11.94 kB / 0.9739 GB, free: 2.723 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1536, allocations: 0 / 0.9739 GB, free: 2.723 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.1542, allocations: 191.5 kB / 0.9741 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1545, allocations: 75.88 kB / 0.9742 GB, free: 2.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.1563, allocations: 1.389 MB / 0.9755 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1564, allocations: 23.89 kB / 0.9756 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.1564, allocations: 11.97 kB / 0.9756 GB, free: 0.9375 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: 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.0001279/0.1566, allocations: 136.5 kB / 0.9757 GB, free: 0.793 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.1566, allocations: 55.94 kB / 0.9757 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00089/0.1575, allocations: 428.6 kB / 0.9762 GB, free: 312 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1575, allocations: 4 kB / 0.9762 GB, free: 308 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1575, allocations: 128 / 0.9762 GB, free: 308 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1575, allocations: 3.984 kB / 0.9762 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1578, allocations: 305.4 kB / 0.9765 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1578, allocations: 0 / 0.9765 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.158, allocations: 67.8 kB / 0.9765 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.158, allocations: 71.38 kB / 0.9766 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/0.1586, allocations: 246.3 kB / 0.9768 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1586, allocations: 15.97 kB / 0.9768 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.1599, allocations: 1.374 MB / 0.9782 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1599, allocations: 0 / 0.9782 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.1608, allocations: 396 kB / 0.9786 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.1608, allocations: 15.98 kB / 0.9786 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1609, allocations: 12 kB / 0.9786 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.161, allocations: 35.88 kB / 0.9786 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.161, allocations: 11.98 kB / 0.9786 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002643/0.1613, allocations: 432.4 kB / 0.979 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1613, allocations: 0 / 0.979 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000298/0.1616, allocations: 119.8 kB / 0.9792 GB, free: 13.09 MB / 0.9636 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 (37): * Single equations (assignments): 32 * 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.001202/0.1628, allocations: 0.5797 MB / 0.9797 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.1632, allocations: 327.1 kB / 0.98 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/0.1632, allocations: 19.97 kB / 0.9801 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.1634, allocations: 251.5 kB / 0.9803 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1638, allocations: 171.5 kB / 0.9805 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1661, allocations: 1.191 MB / 0.9816 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1662, allocations: 192.9 kB / 0.9818 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.1664, allocations: 70.88 kB / 0.9819 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.1666, allocations: 131.3 kB / 0.982 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.1666, allocations: 0 / 0.982 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of Templates: time 0.01364/0.1802, allocations: 11.69 MB / 0.9934 GB, free: 14.81 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE/Buildings_latest_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.534033890813589]