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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008953/0.0008953, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003944, allocations: 11.94 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8724, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002708/0.8752, allocations: 1.8 MB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1623/1.038, allocations: 127.2 MB / 1.147 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/1.038, allocations: 3.938 kB / 1.147 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/1.039, allocations: 0.7407 MB / 1.148 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007414/1.04, allocations: 471 kB / 1.148 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/1.041, allocations: 334.1 kB / 1.148 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004849/1.041, allocations: 391.7 kB / 1.149 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/1.041, allocations: 64.62 kB / 1.149 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/1.042, allocations: 295.2 kB / 1.149 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/1.042, allocations: 351.2 kB / 1.149 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/1.042, allocations: 8 kB / 1.149 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/1.043, allocations: 291.5 kB / 1.15 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/1.043, allocations: 163.5 kB / 1.15 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/1.043, allocations: 125.2 kB / 1.15 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000708/1.044, allocations: 0.5165 MB / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.044, allocations: 0 / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.405e-06/1.044, allocations: 0 / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.044, allocations: 0 / 1.15 GB, free: 12.05 MB / 0.9044 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.001799/1.046, allocations: 0.9835 MB / 1.151 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.046, allocations: 15.98 kB / 1.151 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/1.048, allocations: 198.7 kB / 1.152 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/1.048, allocations: 451.6 kB / 1.152 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/1.048, allocations: 16.38 kB / 1.152 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/1.048, allocations: 16 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/1.049, allocations: 334.9 kB / 1.152 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.049, allocations: 0 / 1.152 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/1.049, allocations: 8 kB / 1.152 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/1.049, allocations: 4 kB / 1.152 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/1.051, allocations: 340.6 kB / 1.153 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/1.053, allocations: 1.109 MB / 1.154 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.054, allocations: 405.4 kB / 1.154 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/1.054, allocations: 11.92 kB / 1.154 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008578/1.055, allocations: 308.8 kB / 1.154 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/1.055, allocations: 0 / 1.154 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.00831/1.063, allocations: 1.199 MB / 1.156 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.063, allocations: 85.11 kB / 1.156 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/1.065, allocations: 1.345 MB / 1.157 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/1.065, allocations: 33.7 kB / 1.157 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/1.065, allocations: 360.5 kB / 1.157 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.065, allocations: 94.66 kB / 1.157 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/1.065, allocations: 8 kB / 1.158 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.065, allocations: 325.9 kB / 1.158 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/1.066, allocations: 167.9 kB / 1.158 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/1.067, allocations: 225.9 kB / 1.158 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/1.067, allocations: 183.2 kB / 1.158 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.067, allocations: 0 / 1.158 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003834/1.071, allocations: 0.7117 MB / 1.159 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.071, allocations: 7.953 kB / 1.159 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.071, allocations: 0 / 1.159 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.072, allocations: 184.7 kB / 1.159 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.073, allocations: 59.91 kB / 1.159 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/1.08, allocations: 2.172 MB / 1.161 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/1.081, allocations: 39.67 kB / 1.161 GB, free: 304 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.081, allocations: 28.03 kB / 1.161 GB, free: 276 kB / 0.9044 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004156/1.081, allocations: 290.7 kB / 1.162 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.082, allocations: 82.92 kB / 1.162 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/1.086, allocations: 0.7467 MB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.086, allocations: 4 kB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.086, allocations: 0 / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.086, allocations: 0 / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/1.086, allocations: 0.5894 MB / 1.163 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.086, allocations: 0 / 1.163 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/1.087, allocations: 47.91 kB / 1.163 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009553/1.088, allocations: 176.7 kB / 1.163 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/1.088, allocations: 15.97 kB / 1.163 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/1.095, allocations: 2.17 MB / 1.165 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.095, allocations: 0 / 1.165 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/1.099, allocations: 0.7636 MB / 1.166 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/1.1, allocations: 155.9 kB / 1.166 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/1.1, allocations: 8 kB / 1.166 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/1.1, allocations: 27.97 kB / 1.166 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/1.1, allocations: 31.86 kB / 1.166 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/1.1, allocations: 19.98 kB / 1.166 GB, free: 10.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001154/1.102, allocations: 0.9988 MB / 1.167 GB, free: 9.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.102, allocations: 0 / 1.167 GB, free: 9.906 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000614/1.102, allocations: 111.9 kB / 1.168 GB, free: 9.797 MB / 0.92 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/1.103, allocations: 447.9 kB / 1.168 GB, free: 9.508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.105, allocations: 0.5336 MB / 1.169 GB, free: 8.961 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.105, allocations: 0 / 1.169 GB, free: 8.961 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009706/1.106, allocations: 362.4 kB / 1.169 GB, free: 8.594 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/1.107, allocations: 111.7 kB / 1.169 GB, free: 8.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/1.109, allocations: 1.699 MB / 1.171 GB, free: 6.754 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/1.11, allocations: 0.9846 MB / 1.172 GB, free: 5.742 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003813/1.11, allocations: 91.16 kB / 1.172 GB, free: 5.656 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.11, allocations: 35.42 kB / 1.172 GB, free: 5.621 MB / 0.92 GB Notification: Performance of SimCode: time 2.565e-06/1.11, allocations: 4 kB / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Templates: time 0.01612/1.127, allocations: 9.503 MB / 1.181 GB, free: 12.17 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches