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.0006585/0.0006585, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0007993/0.0007993, allocations: 161.3 kB / 23.51 MB, free: 0.918 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 0.8907/0.8907, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.817/1.817, allocations: 390.1 MB / 0.6352 GB, free: 11.45 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|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.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.827 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.623e-05, allocations: 9.609 kB / 0.827 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002649/0.002675, allocations: 2.141 MB / 0.8291 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1193/0.122, allocations: 132.4 MB / 0.9584 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.1223, allocations: 3.938 kB / 0.9584 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.1232, allocations: 0.7754 MB / 0.9592 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.124, allocations: 0.5334 MB / 0.9597 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.1249, allocations: 354.4 kB / 0.96 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.1255, allocations: 0.5887 MB / 0.9606 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1257, allocations: 56.83 kB / 0.9606 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.127, allocations: 428.4 kB / 0.9611 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.1274, allocations: 0.4999 MB / 0.9615 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.1274, allocations: 32 kB / 0.9616 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.1279, allocations: 287.4 kB / 0.9618 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1281, allocations: 195.6 kB / 0.962 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1282, allocations: 139.4 kB / 0.9622 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.1289, allocations: 0.7513 MB / 0.9629 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1289, allocations: 3.984 kB / 0.9629 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1289, allocations: 0 / 0.9629 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.1289, allocations: 3.938 kB / 0.9629 GB, free: 3.746 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001115/0.1301, allocations: 1.028 MB / 0.9639 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1301, allocations: 15.97 kB / 0.9639 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1311, allocations: 263 kB / 0.9642 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.1316, allocations: 437.3 kB / 0.9646 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1316, allocations: 16.38 kB / 0.9646 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1317, allocations: 20 kB / 0.9646 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.1322, allocations: 335.2 kB / 0.965 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1322, allocations: 3.938 kB / 0.965 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1323, allocations: 11.98 kB / 0.965 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1323, allocations: 7.938 kB / 0.965 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.133, allocations: 352.7 kB / 0.9653 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1343, allocations: 1.03 MB / 0.9663 GB, free: 152 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.135, allocations: 393.3 kB / 0.9667 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.1354, allocations: 205.4 kB / 0.9669 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1354, allocations: 8 kB / 0.9669 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.1359, allocations: 316.8 kB / 0.9672 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.1359, allocations: 4 kB / 0.9672 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.004424/0.1403, allocations: 1.186 MB / 0.9684 GB, free: 14 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1403, allocations: 85.05 kB / 0.9684 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1414, allocations: 1.38 MB / 0.9698 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1415, allocations: 37.7 kB / 0.9698 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.1417, allocations: 364.5 kB / 0.9702 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.1417, allocations: 111.1 kB / 0.9703 GB, free: 12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.1418, allocations: 61.67 kB / 0.9703 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.1419, allocations: 322 kB / 0.9706 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.1423, allocations: 179.9 kB / 0.9708 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.1427, allocations: 299.2 kB / 0.9711 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.1434, allocations: 413.5 kB / 0.9715 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1434, allocations: 0 / 0.9715 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002033/0.1454, allocations: 0.7553 MB / 0.9722 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1455, allocations: 4 kB / 0.9722 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1455, allocations: 4 kB / 0.9722 GB, free: 9.918 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.146, allocations: 180.7 kB / 0.9724 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1463, allocations: 63.91 kB / 0.9725 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.1504, allocations: 2.152 MB / 0.9746 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.1507, allocations: 39.77 kB / 0.9746 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1507, allocations: 23.97 kB / 0.9746 GB, free: 7.359 MB / 0.9323 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.0003371/0.151, allocations: 293.7 kB / 0.9749 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.1511, allocations: 95.44 kB / 0.975 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.1533, allocations: 0.8573 MB / 0.9758 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1533, allocations: 7.938 kB / 0.9759 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1533, allocations: 0 / 0.9759 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1533, allocations: 7.984 kB / 0.9759 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1538, allocations: 487.8 kB / 0.9763 GB, free: 5.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1538, allocations: 0 / 0.9763 GB, free: 5.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.154, allocations: 51.91 kB / 0.9764 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.1545, allocations: 184.6 kB / 0.9766 GB, free: 5.336 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1545, allocations: 11.98 kB / 0.9766 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/0.1584, allocations: 2.158 MB / 0.9787 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1584, allocations: 0 / 0.9787 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.1604, allocations: 0.8229 MB / 0.9795 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1605, allocations: 75.38 kB / 0.9795 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.1606, allocations: 8 kB / 0.9796 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1608, allocations: 27.97 kB / 0.9796 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.1608, allocations: 27.95 kB / 0.9796 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.1609, allocations: 19.97 kB / 0.9796 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007198/0.1616, allocations: 1.03 MB / 0.9806 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1616, allocations: 0 / 0.9806 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003909/0.162, allocations: 115.8 kB / 0.9807 GB, free: 0.9258 MB / 0.9323 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.0008559/0.1628, allocations: 477.4 kB / 0.9812 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.1639, allocations: 0.5533 MB / 0.9817 GB, free: 104 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1639, allocations: 0 / 0.9817 GB, free: 104 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.1645, allocations: 366.7 kB / 0.9821 GB, free: 15.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.165, allocations: 136.9 kB / 0.9822 GB, free: 15.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1666, allocations: 1.64 MB / 0.9838 GB, free: 13.92 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1668, allocations: 383.5 kB / 0.9842 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.1671, allocations: 79.19 kB / 0.9843 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1672, allocations: 52.47 kB / 0.9843 GB, free: 13.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1672, allocations: 0 / 0.9843 GB, free: 13.4 MB / 0.948 GB Notification: Performance of Templates: time 0.0115/0.1787, allocations: 10.55 MB / 0.9946 GB, free: 2.977 MB / 0.948 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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: 5.089627757668495]