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.001013/0.001013, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000977/0.000977, allocations: 161 kB / 23.82 MB, free: 0.75 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.9172/0.9172, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.838/1.838, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.393e-06/1.393e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.36e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002357/0.002371, allocations: 2.242 MB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1104/0.1127, allocations: 146.4 MB / 0.9567 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1129, allocations: 7.938 kB / 0.9567 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.1136, allocations: 0.7832 MB / 0.9575 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.1142, allocations: 0.5295 MB / 0.958 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.1147, allocations: 350.5 kB / 0.9583 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.1153, allocations: 0.5964 MB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1155, allocations: 56.88 kB / 0.959 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1165, allocations: 456.4 kB / 0.9594 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.117, allocations: 0.4921 MB / 0.9599 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.117, allocations: 28 kB / 0.9599 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.1175, allocations: 283.5 kB / 0.9602 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1176, allocations: 203.6 kB / 0.9604 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1178, allocations: 135.4 kB / 0.9605 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.1184, allocations: 0.6265 MB / 0.9611 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1185, allocations: 0 / 0.9611 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1185, allocations: 0 / 0.9611 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1185, allocations: 0 / 0.9611 GB, free: 8.082 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.001066/0.1195, allocations: 1.174 MB / 0.9623 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1196, allocations: 8.031 kB / 0.9623 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.1203, allocations: 223.1 kB / 0.9625 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1206, allocations: 440 kB / 0.9629 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1206, allocations: 12.38 kB / 0.9629 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1207, allocations: 23.98 kB / 0.9629 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.1211, allocations: 292.1 kB / 0.9632 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1211, allocations: 0 / 0.9632 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1211, allocations: 15.98 kB / 0.9632 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1211, allocations: 11.94 kB / 0.9632 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.1214, allocations: 196.8 kB / 0.9634 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1225, allocations: 1.133 MB / 0.9645 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.1229, allocations: 279.3 kB / 0.9648 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.123, allocations: 115.2 kB / 0.9649 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1231, allocations: 7.859 kB / 0.9649 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1233, allocations: 232.2 kB / 0.9651 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1233, allocations: 0 / 0.9651 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.002169/0.1255, allocations: 0.6858 MB / 0.9658 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1255, allocations: 89.05 kB / 0.9659 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.1262, allocations: 0.976 MB / 0.9668 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1262, allocations: 33.7 kB / 0.9669 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.1265, allocations: 451.2 kB / 0.9673 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.1265, allocations: 107.2 kB / 0.9674 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.1266, allocations: 67.33 kB / 0.9675 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1267, allocations: 0.4887 MB / 0.9679 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1268, allocations: 83.88 kB / 0.968 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.127, allocations: 177.1 kB / 0.9682 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1273, allocations: 221.1 kB / 0.9684 GB, free: 304 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1273, allocations: 0 / 0.9684 GB, free: 304 kB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009972/0.1282, allocations: 476.3 kB / 0.9689 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1283, allocations: 4 kB / 0.9689 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1283, allocations: 4.062 kB / 0.9689 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007246/0.129, allocations: 195.5 kB / 0.9691 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1292, allocations: 59.89 kB / 0.9691 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.1309, allocations: 1.972 MB / 0.971 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.131, allocations: 31.86 kB / 0.9711 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.131, allocations: 23.97 kB / 0.9711 GB, free: 13.41 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.0001335/0.1312, allocations: 173 kB / 0.9713 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.1313, allocations: 99.39 kB / 0.9713 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1324, allocations: 0.5484 MB / 0.9719 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1324, allocations: 7.938 kB / 0.9719 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1324, allocations: 0 / 0.9719 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1324, allocations: 7.984 kB / 0.9719 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1328, allocations: 0.4914 MB / 0.9724 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1328, allocations: 4 kB / 0.9724 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.133, allocations: 59.91 kB / 0.9724 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.1336, allocations: 195.5 kB / 0.9726 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1337, allocations: 15.97 kB / 0.9726 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.1352, allocations: 1.951 MB / 0.9745 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1352, allocations: 0 / 0.9745 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1363, allocations: 0.5501 MB / 0.9751 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1364, allocations: 83.31 kB / 0.9752 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1364, allocations: 16.05 kB / 0.9752 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1365, allocations: 19.98 kB / 0.9752 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.1366, allocations: 31.89 kB / 0.9752 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1366, allocations: 23.92 kB / 0.9753 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004068/0.137, allocations: 0.6317 MB / 0.9759 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 0.9759 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003187/0.1373, allocations: 123.8 kB / 0.976 GB, free: 8.184 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 (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.0009384/0.1383, allocations: 419.7 kB / 0.9764 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.1388, allocations: 443.7 kB / 0.9768 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1388, allocations: 0 / 0.9768 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.1391, allocations: 341.3 kB / 0.9771 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1395, allocations: 142.8 kB / 0.9773 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1409, allocations: 1.203 MB / 0.9784 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.141, allocations: 185 kB / 0.9786 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000186/0.1411, allocations: 87.09 kB / 0.9787 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.1412, allocations: 40.48 kB / 0.9787 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of SimCode: time 4.51e-07/0.1412, allocations: 0 / 0.9787 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of Templates: time 0.01302/0.1543, allocations: 11.49 MB / 0.99 GB, free: 10.04 MB / 0.948 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.375822608824819]