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.001178/0.001178, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002042/0.00322, allocations: 440 kB / 10.41 MB, free: 284 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.001385/0.001385, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001968/0.003353, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9172/0.9172, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07815/0.9954, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.362/2.362, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2204/2.582, allocations: 146 MB / 0.8176 GB, free: 3.824 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.302e-06/1.302e-06, allocations: 0 / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.748e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002478/0.002495, allocations: 2.289 MB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.126/0.1285, allocations: 146.3 MB / 0.964 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.1287, allocations: 11.88 kB / 0.964 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.1296, allocations: 0.7793 MB / 0.9647 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.1302, allocations: 0.5295 MB / 0.9653 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1308, allocations: 342.4 kB / 0.9656 GB, free: 11.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.1314, allocations: 0.5886 MB / 0.9662 GB, free: 11.13 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1315, allocations: 60.81 kB / 0.9662 GB, free: 11.07 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009915/0.1325, allocations: 0.5405 MB / 0.9667 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.1328, allocations: 432 kB / 0.9672 GB, free: 10.15 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.1329, allocations: 27.94 kB / 0.9672 GB, free: 10.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.1334, allocations: 311.3 kB / 0.9675 GB, free: 9.816 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1335, allocations: 163.8 kB / 0.9676 GB, free: 9.656 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.1336, allocations: 111.4 kB / 0.9677 GB, free: 9.547 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.1343, allocations: 0.5682 MB / 0.9683 GB, free: 8.977 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.1343, allocations: 0 / 0.9683 GB, free: 8.977 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1343, allocations: 3.938 kB / 0.9683 GB, free: 8.973 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.1343, allocations: 0 / 0.9683 GB, free: 8.973 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.001151/0.1354, allocations: 1.143 MB / 0.9694 GB, free: 7.801 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1355, allocations: 19.97 kB / 0.9694 GB, free: 7.781 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.1362, allocations: 256.8 kB / 0.9697 GB, free: 7.512 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1366, allocations: 405.4 kB / 0.9701 GB, free: 7.086 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1366, allocations: 20.36 kB / 0.9701 GB, free: 7.066 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1366, allocations: 24 kB / 0.9701 GB, free: 7.043 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.137, allocations: 270.4 kB / 0.9704 GB, free: 6.762 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.137, allocations: 4 kB / 0.9704 GB, free: 6.758 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.137, allocations: 4 kB / 0.9704 GB, free: 6.754 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.137, allocations: 4 kB / 0.9704 GB, free: 6.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.1372, allocations: 143 kB / 0.9705 GB, free: 6.609 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.1381, allocations: 0.6889 MB / 0.9712 GB, free: 5.895 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1384, allocations: 305.8 kB / 0.9715 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.1385, allocations: 85.66 kB / 0.9716 GB, free: 5.484 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1385, allocations: 4 kB / 0.9716 GB, free: 5.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1387, allocations: 207.7 kB / 0.9718 GB, free: 5.258 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.1388, allocations: 4 kB / 0.9718 GB, free: 5.254 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.001874/0.1406, allocations: 0.5282 MB / 0.9723 GB, free: 4.715 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1407, allocations: 85.05 kB / 0.9724 GB, free: 4.613 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.1412, allocations: 0.8374 MB / 0.9732 GB, free: 3.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1412, allocations: 29.7 kB / 0.9732 GB, free: 3.727 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1413, allocations: 210.3 kB / 0.9734 GB, free: 3.516 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.1414, allocations: 99.14 kB / 0.9735 GB, free: 3.418 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.1415, allocations: 65.64 kB / 0.9736 GB, free: 3.348 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.1416, allocations: 325.9 kB / 0.9739 GB, free: 3.023 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.748e-05/0.1417, allocations: 50.8 kB / 0.9739 GB, free: 2.973 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1418, allocations: 122.8 kB / 0.974 GB, free: 2.828 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1419, allocations: 179.9 kB / 0.9742 GB, free: 2.637 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.142, allocations: 4.031 kB / 0.9742 GB, free: 2.633 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009107/0.1429, allocations: 342.9 kB / 0.9745 GB, free: 2.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1429, allocations: 9.812 kB / 0.9746 GB, free: 2.277 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1429, allocations: 7.938 kB / 0.9746 GB, free: 2.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.1435, allocations: 187.5 kB / 0.9747 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1437, allocations: 75.88 kB / 0.9748 GB, free: 2.008 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.1453, allocations: 1.386 MB / 0.9762 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1454, allocations: 31.94 kB / 0.9762 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1454, allocations: 11.98 kB / 0.9762 GB, free: 492 kB / 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.0001253/0.1456, allocations: 136.5 kB / 0.9763 GB, free: 344 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1456, allocations: 47.94 kB / 0.9764 GB, free: 296 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.1465, allocations: 437.3 kB / 0.9768 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1465, allocations: 8 kB / 0.9768 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1466, allocations: 0 / 0.9768 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1466, allocations: 4 kB / 0.9768 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1468, allocations: 297.3 kB / 0.9771 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1468, allocations: 4 kB / 0.9771 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.147, allocations: 63.89 kB / 0.9772 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.147, allocations: 79.34 kB / 0.9772 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/0.1476, allocations: 246.3 kB / 0.9775 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1477, allocations: 11.97 kB / 0.9775 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.1492, allocations: 1.379 MB / 0.9788 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1492, allocations: 3.984 kB / 0.9788 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.15, allocations: 400.2 kB / 0.9792 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.15, allocations: 8 kB / 0.9792 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1501, allocations: 19.98 kB / 0.9792 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1502, allocations: 27.89 kB / 0.9793 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.1502, allocations: 11.98 kB / 0.9793 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000264/0.1505, allocations: 428.5 kB / 0.9797 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1505, allocations: 0 / 0.9797 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003053/0.1508, allocations: 123.8 kB / 0.9798 GB, free: 12.62 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.001326/0.1521, allocations: 0.5847 MB / 0.9804 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.1526, allocations: 328.9 kB / 0.9807 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/0.1526, allocations: 15.98 kB / 0.9807 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1529, allocations: 271.5 kB / 0.981 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1533, allocations: 0.5242 MB / 0.9815 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1556, allocations: 1.196 MB / 0.9826 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.1557, allocations: 185 kB / 0.9828 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.1559, allocations: 74.86 kB / 0.9829 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.1561, allocations: 131.2 kB / 0.983 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/0.1561, allocations: 4 kB / 0.983 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of Templates: time 0.01236/0.1685, allocations: 10.22 MB / 0.993 GB, free: 15.36 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.358563910238445]