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.001238/0.001238, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001367/0.001367, allocations: 169 kB / 23.02 MB, free: 1.547 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.9581/0.9581, allocations: 177.1 MB / 203.4 MB, free: 5.582 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 2.218/2.218, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.[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 3.086e-06/3.086e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.989e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003983/0.004023, allocations: 2.244 MB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.1324, allocations: 146.5 MB / 1.023 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.1326, allocations: 7.938 kB / 1.023 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.1334, allocations: 0.7793 MB / 1.024 GB, free: 364 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.1342, allocations: 0.5296 MB / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.1349, allocations: 350.4 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.1354, allocations: 0.6002 MB / 1.026 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1355, allocations: 56.77 kB / 1.026 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.1365, allocations: 467.8 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.1369, allocations: 0.4999 MB / 1.027 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.1369, allocations: 24 kB / 1.027 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.1374, allocations: 287.5 kB / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1376, allocations: 195.6 kB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1377, allocations: 135.4 kB / 1.027 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007852/0.1385, allocations: 0.6304 MB / 1.028 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1385, allocations: 0 / 1.028 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1385, allocations: 0 / 1.028 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.1385, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.9948 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.001192/0.1397, allocations: 1.162 MB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1398, allocations: 12.03 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.1406, allocations: 235 kB / 1.029 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.141, allocations: 436.1 kB / 1.03 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1411, allocations: 16.38 kB / 1.03 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1411, allocations: 23.94 kB / 1.03 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.1416, allocations: 300.1 kB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1416, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1416, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1416, allocations: 7.938 kB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.1419, allocations: 212.6 kB / 1.03 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1432, allocations: 1.125 MB / 1.031 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.1438, allocations: 284.7 kB / 1.031 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1439, allocations: 118.6 kB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.1439, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.1442, allocations: 225.7 kB / 1.032 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.1442, allocations: 0 / 1.032 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.002284/0.1465, allocations: 0.7031 MB / 1.032 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1465, allocations: 81.11 kB / 1.033 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.1474, allocations: 0.9722 MB / 1.033 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.1474, allocations: 37.69 kB / 1.034 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.1476, allocations: 451.3 kB / 1.034 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.1477, allocations: 99.17 kB / 1.034 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.1478, allocations: 75.31 kB / 1.034 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1479, allocations: 496.4 kB / 1.035 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.148, allocations: 75.95 kB / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1482, allocations: 210.5 kB / 1.035 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1485, allocations: 235 kB / 1.035 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1485, allocations: 0 / 1.035 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001055/0.1496, allocations: 480.5 kB / 1.036 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1496, allocations: 8 kB / 1.036 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1496, allocations: 4 kB / 1.036 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/0.1503, allocations: 203.5 kB / 1.036 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1505, allocations: 59.91 kB / 1.036 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1528, allocations: 1.95 MB / 1.038 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.153, allocations: 35.77 kB / 1.038 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.153, allocations: 19.98 kB / 1.038 GB, free: 1.898 MB / 0.9948 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.0001716/0.1532, allocations: 184.4 kB / 1.038 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.1533, allocations: 99.47 kB / 1.038 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.1545, allocations: 0.5474 MB / 1.039 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1545, allocations: 7.938 kB / 1.039 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1545, allocations: 0 / 1.039 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1545, allocations: 3.984 kB / 1.039 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1549, allocations: 0.4953 MB / 1.039 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1549, allocations: 0 / 1.039 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.1551, allocations: 55.97 kB / 1.039 GB, free: 464 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.1557, allocations: 203.4 kB / 1.039 GB, free: 256 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.1558, allocations: 11.98 kB / 1.039 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.1575, allocations: 1.959 MB / 1.041 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1576, allocations: 0 / 1.041 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1587, allocations: 0.5468 MB / 1.042 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.1587, allocations: 79.3 kB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1588, allocations: 12 kB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1589, allocations: 15.98 kB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.159, allocations: 31.95 kB / 1.042 GB, free: 13.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.159, allocations: 19.98 kB / 1.042 GB, free: 13.42 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004553/0.1595, allocations: 0.6278 MB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1595, allocations: 3.938 kB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003768/0.1599, allocations: 119.9 kB / 1.043 GB, free: 12.68 MB / 1.01 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.0009674/0.1608, allocations: 428.3 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006554/0.1615, allocations: 433.7 kB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1615, allocations: 8 kB / 1.043 GB, free: 11.94 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.1621, allocations: 350.4 kB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1625, allocations: 142.8 kB / 1.044 GB, free: 11.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1641, allocations: 1.194 MB / 1.045 GB, free: 10.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.1642, allocations: 189 kB / 1.045 GB, free: 10 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.1644, allocations: 74.86 kB / 1.045 GB, free: 9.934 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1645, allocations: 48.42 kB / 1.045 GB, free: 9.887 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.1645, allocations: 4 kB / 1.045 GB, free: 9.883 MB / 1.01 GB Notification: Performance of Templates: time 0.3883/0.5528, allocations: 10.77 MB / 1.056 GB, free: 76.86 MB / 1.01 GB " [Timeout remaining time 299] 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.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: 6.31982713798061]