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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008743/0.008743, allocations: 102.5 kB / 15.73 MB, free: 5.973 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.001946/0.001946, allocations: 196.1 kB / 16.68 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8704, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004002/0.8745, allocations: 2.207 MB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1729/1.047, allocations: 150.5 MB / 1.357 GB, free: 4.312 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/1.048, allocations: 7.938 kB / 1.357 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/1.049, allocations: 0.7796 MB / 1.358 GB, free: 3.523 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00071/1.05, allocations: 498.6 kB / 1.358 GB, free: 3.035 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/1.051, allocations: 399.8 kB / 1.358 GB, free: 2.645 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00057/1.051, allocations: 0.5694 MB / 1.359 GB, free: 2.074 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/1.051, allocations: 76.7 kB / 1.359 GB, free: 1.996 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/1.053, allocations: 367.8 kB / 1.359 GB, free: 1.648 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/1.053, allocations: 475.8 kB / 1.36 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/1.053, allocations: 20 kB / 1.36 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/1.054, allocations: 303.5 kB / 1.36 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/1.054, allocations: 187.7 kB / 1.36 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/1.054, allocations: 265.9 kB / 1.361 GB, free: 432 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008279/1.055, allocations: 0.7451 MB / 1.361 GB, free: 15.68 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.055, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.372e-06/1.055, allocations: 4 kB / 1.361 GB, free: 15.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.055, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.092 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.001616/1.057, allocations: 1.069 MB / 1.362 GB, free: 14.55 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.057, allocations: 8.031 kB / 1.362 GB, free: 14.55 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/1.058, allocations: 198.7 kB / 1.363 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/1.059, allocations: 494.7 kB / 1.363 GB, free: 13.83 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/1.059, allocations: 16.36 kB / 1.363 GB, free: 13.81 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/1.059, allocations: 31.92 kB / 1.363 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/1.06, allocations: 331.2 kB / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.06, allocations: 0 / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/1.06, allocations: 4 kB / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.06, allocations: 4 kB / 1.363 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/1.061, allocations: 340.6 kB / 1.364 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/1.063, allocations: 1.117 MB / 1.365 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.064, allocations: 397.3 kB / 1.365 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/1.065, allocations: 205.6 kB / 1.365 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/1.065, allocations: 11.98 kB / 1.365 GB, free: 11.3 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008245/1.066, allocations: 314.4 kB / 1.366 GB, free: 10.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/1.066, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.008865/1.075, allocations: 1.209 MB / 1.367 GB, free: 9.742 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/1.075, allocations: 85.05 kB / 1.367 GB, free: 9.641 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.076, allocations: 1.341 MB / 1.368 GB, free: 8.289 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/1.076, allocations: 33.7 kB / 1.368 GB, free: 8.25 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.076, allocations: 372.4 kB / 1.369 GB, free: 7.883 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/1.077, allocations: 94.66 kB / 1.369 GB, free: 7.789 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.077, allocations: 65.67 kB / 1.369 GB, free: 7.719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/1.077, allocations: 322 kB / 1.369 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/1.077, allocations: 167.9 kB / 1.369 GB, free: 7.234 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/1.078, allocations: 229.9 kB / 1.37 GB, free: 6.988 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.079, allocations: 399.5 kB / 1.37 GB, free: 6.586 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.079, allocations: 0 / 1.37 GB, free: 6.586 MB / 1.092 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004028/1.083, allocations: 0.722 MB / 1.371 GB, free: 5.855 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.084, allocations: 8 kB / 1.371 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.084, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.085, allocations: 176.7 kB / 1.371 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/1.085, allocations: 63.91 kB / 1.371 GB, free: 5.609 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/1.093, allocations: 2.301 MB / 1.373 GB, free: 3.168 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/1.093, allocations: 43.75 kB / 1.373 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/1.093, allocations: 20.05 kB / 1.373 GB, free: 3.105 MB / 1.092 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.0003639/1.094, allocations: 294.2 kB / 1.373 GB, free: 2.809 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.094, allocations: 82.91 kB / 1.374 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/1.098, allocations: 0.7506 MB / 1.374 GB, free: 1.965 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.098, allocations: 4 kB / 1.374 GB, free: 1.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/1.098, allocations: 4 kB / 1.374 GB, free: 1.957 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.098, allocations: 0 / 1.374 GB, free: 1.957 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/1.099, allocations: 0.5739 MB / 1.375 GB, free: 1.336 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.099, allocations: 4 kB / 1.375 GB, free: 1.332 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/1.099, allocations: 51.91 kB / 1.375 GB, free: 1.281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009959/1.1, allocations: 176.6 kB / 1.375 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/1.1, allocations: 11.98 kB / 1.375 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007664/1.108, allocations: 2.299 MB / 1.377 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.108, allocations: 7.875 kB / 1.377 GB, free: 14.64 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/1.112, allocations: 0.7551 MB / 1.378 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/1.112, allocations: 152 kB / 1.378 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/1.112, allocations: 15.94 kB / 1.378 GB, free: 13.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/1.113, allocations: 27.97 kB / 1.378 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/1.113, allocations: 19.97 kB / 1.378 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/1.113, allocations: 19.98 kB / 1.378 GB, free: 13.61 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000977/1.114, allocations: 1.003 MB / 1.379 GB, free: 12.61 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 1.379 GB, free: 12.61 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005335/1.114, allocations: 108 kB / 1.379 GB, free: 12.51 MB / 1.107 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 (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.001143/1.115, allocations: 439.7 kB / 1.38 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.117, allocations: 0.5453 MB / 1.38 GB, free: 11.67 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.117, allocations: 4.062 kB / 1.38 GB, free: 11.67 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/1.118, allocations: 366.6 kB / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/1.119, allocations: 126.9 kB / 1.381 GB, free: 11.18 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/1.122, allocations: 1.568 MB / 1.382 GB, free: 9.578 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.122, allocations: 0.9684 MB / 1.383 GB, free: 8.582 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003324/1.122, allocations: 90.89 kB / 1.383 GB, free: 8.496 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/1.123, allocations: 43.42 kB / 1.383 GB, free: 8.453 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.123, allocations: 0 / 1.383 GB, free: 8.453 MB / 1.107 GB Notification: Performance of Templates: time 0.01846/1.141, allocations: 10.44 MB / 1.394 GB, free: 14.07 MB / 1.123 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches