Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009675/0.0009675, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001265/0.001265, allocations: 168.7 kB / 15.95 MB, free: 204 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.846/2.846, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004168, allocations: 11.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8331, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00271/0.8358, allocations: 1.835 MB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1664/1.002, allocations: 136.7 MB / 1.158 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/1.003, allocations: 7.938 kB / 1.158 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.004, allocations: 0.7563 MB / 1.158 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000834/1.005, allocations: 458.9 kB / 1.159 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/1.006, allocations: 334.5 kB / 1.159 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007769/1.007, allocations: 494.9 kB / 1.16 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/1.007, allocations: 56.7 kB / 1.16 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007809/1.008, allocations: 311.2 kB / 1.16 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007051/1.008, allocations: 387.1 kB / 1.16 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/1.008, allocations: 12 kB / 1.16 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/1.009, allocations: 279.5 kB / 1.161 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/1.009, allocations: 175.3 kB / 1.161 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/1.01, allocations: 121.3 kB / 1.161 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000968/1.011, allocations: 0.5165 MB / 1.161 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.011, allocations: 0 / 1.161 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.02e-06/1.011, allocations: 3.984 kB / 1.161 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.379e-05/1.011, allocations: 0 / 1.161 GB, free: 1.188 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.002092/1.013, allocations: 0.9796 MB / 1.162 GB, free: 160 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.013, allocations: 8.031 kB / 1.162 GB, free: 152 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/1.014, allocations: 194.8 kB / 1.163 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/1.015, allocations: 459.5 kB / 1.163 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/1.015, allocations: 12.38 kB / 1.163 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/1.015, allocations: 20 kB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.016, allocations: 334.9 kB / 1.163 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.016, allocations: 0 / 1.163 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/1.016, allocations: 12 kB / 1.163 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.016, allocations: 4 kB / 1.163 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.018, allocations: 336.7 kB / 1.164 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/1.02, allocations: 1.113 MB / 1.165 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/1.021, allocations: 393.4 kB / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/1.022, allocations: 209.6 kB / 1.165 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/1.022, allocations: 11.98 kB / 1.165 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/1.023, allocations: 308.7 kB / 1.166 GB, free: 12.63 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 3.847e-06/1.023, allocations: 0 / 1.166 GB, free: 12.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.007738/1.031, allocations: 1.198 MB / 1.167 GB, free: 11.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/1.031, allocations: 85.11 kB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.033, allocations: 1.345 MB / 1.168 GB, free: 9.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/1.033, allocations: 33.7 kB / 1.168 GB, free: 9.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/1.033, allocations: 360.5 kB / 1.169 GB, free: 9.551 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/1.033, allocations: 106.6 kB / 1.169 GB, free: 9.445 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/1.033, allocations: 4 kB / 1.169 GB, free: 9.441 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.033, allocations: 314 kB / 1.169 GB, free: 9.129 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/1.034, allocations: 171.9 kB / 1.169 GB, free: 8.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/1.035, allocations: 230.7 kB / 1.169 GB, free: 8.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/1.035, allocations: 187.8 kB / 1.17 GB, free: 8.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.035, allocations: 0 / 1.17 GB, free: 8.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003539/1.039, allocations: 0.7039 MB / 1.17 GB, free: 7.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.039, allocations: 8 kB / 1.17 GB, free: 7.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.039, allocations: 0 / 1.17 GB, free: 7.812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009437/1.04, allocations: 176.7 kB / 1.17 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.04, allocations: 67.84 kB / 1.171 GB, free: 7.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/1.047, allocations: 2.107 MB / 1.173 GB, free: 5.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/1.047, allocations: 47.77 kB / 1.173 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/1.047, allocations: 19.97 kB / 1.173 GB, free: 5.262 MB / 0.92 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.000445/1.048, allocations: 294.2 kB / 1.173 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/1.048, allocations: 86.92 kB / 1.173 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/1.051, allocations: 0.7323 MB / 1.174 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.051, allocations: 4 kB / 1.174 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.051, allocations: 11.98 kB / 1.174 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/1.051, allocations: 0 / 1.174 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/1.052, allocations: 0.5775 MB / 1.174 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.052, allocations: 4 kB / 1.174 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/1.052, allocations: 51.91 kB / 1.174 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/1.053, allocations: 172.6 kB / 1.175 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/1.053, allocations: 15.97 kB / 1.175 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006269/1.06, allocations: 2.107 MB / 1.177 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.06, allocations: 0 / 1.177 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/1.063, allocations: 0.7473 MB / 1.177 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/1.063, allocations: 152 kB / 1.178 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/1.063, allocations: 11.98 kB / 1.178 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/1.064, allocations: 27.98 kB / 1.178 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/1.064, allocations: 31.89 kB / 1.178 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/1.064, allocations: 16.03 kB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001048/1.065, allocations: 0.9987 MB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.065, allocations: 4 kB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000518/1.066, allocations: 119.8 kB / 1.179 GB, free: 14.88 MB / 0.9356 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.001033/1.067, allocations: 441.1 kB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.068, allocations: 0.5375 MB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.068, allocations: 0 / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/1.069, allocations: 363.1 kB / 1.18 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/1.07, allocations: 125 kB / 1.18 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/1.072, allocations: 1.703 MB / 1.182 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/1.073, allocations: 0.9684 MB / 1.183 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003746/1.073, allocations: 83.17 kB / 1.183 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.073, allocations: 43.41 kB / 1.183 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/1.073, allocations: 3.938 kB / 1.183 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.01822/1.092, allocations: 9.499 MB / 1.192 GB, free: 1.266 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches