Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001267/0.001267, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001251/0.001251, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.648/2.648, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.73 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003915/0.3123, allocations: 2.245 MB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6379/0.9502, allocations: 148.4 MB / 1.211 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.9504, allocations: 6.75 kB / 1.211 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.9515, allocations: 0.7728 MB / 1.212 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.9523, allocations: 475.3 kB / 1.212 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.9534, allocations: 358.8 kB / 1.213 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.9541, allocations: 0.5666 MB / 1.213 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.9543, allocations: 73.56 kB / 1.213 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.956, allocations: 367.6 kB / 1.214 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.9566, allocations: 0.4942 MB / 1.214 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.9566, allocations: 23.41 kB / 1.214 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.9573, allocations: 302.3 kB / 1.215 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.9575, allocations: 196.8 kB / 1.215 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.9577, allocations: 266.2 kB / 1.215 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.9585, allocations: 0.5319 MB / 1.215 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9585, allocations: 0 / 1.215 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9585, allocations: 0 / 1.215 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.9585, allocations: 0 / 1.215 GB, free: 11.41 MB / 0.9356 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.001804/0.9603, allocations: 1.067 MB / 1.217 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.9604, allocations: 13.75 kB / 1.217 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.9621, allocations: 195.4 kB / 1.217 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.9627, allocations: 491.5 kB / 1.217 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.9628, allocations: 16.62 kB / 1.217 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.9628, allocations: 20.31 kB / 1.217 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.9638, allocations: 335.3 kB / 1.218 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9638, allocations: 3.938 kB / 1.218 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.9639, allocations: 6.75 kB / 1.218 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.9639, allocations: 4.062 kB / 1.218 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.9653, allocations: 342.8 kB / 1.218 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.9677, allocations: 1.107 MB / 1.219 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.9689, allocations: 406.2 kB / 1.219 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.9696, allocations: 205.1 kB / 1.22 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.9696, allocations: 12.95 kB / 1.22 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.9705, allocations: 311.7 kB / 1.22 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 5.871e-06/0.9706, allocations: 3.984 kB / 1.22 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.009887/0.9805, allocations: 1.224 MB / 1.221 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.9806, allocations: 87.17 kB / 1.221 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.9821, allocations: 1.343 MB / 1.222 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.911e-05/0.9822, allocations: 32.42 kB / 1.222 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.9826, allocations: 364.8 kB / 1.223 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.9828, allocations: 100.8 kB / 1.223 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.9829, allocations: 62.77 kB / 1.223 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9831, allocations: 322.3 kB / 1.223 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.9838, allocations: 168.9 kB / 1.223 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.9845, allocations: 235 kB / 1.224 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.986, allocations: 394 kB / 1.224 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.986, allocations: 3.938 kB / 1.224 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004541/0.9905, allocations: 0.7156 MB / 1.225 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.9906, allocations: 8 kB / 1.225 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9906, allocations: 0 / 1.225 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.9917, allocations: 176.7 kB / 1.225 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.9921, allocations: 59.89 kB / 1.225 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/1.001, allocations: 2.304 MB / 1.227 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/1.001, allocations: 43.84 kB / 1.227 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.001, allocations: 16.05 kB / 1.227 GB, free: 1.797 MB / 0.9356 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.000485/1.002, allocations: 294.2 kB / 1.228 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.002, allocations: 86.91 kB / 1.228 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/1.007, allocations: 0.7594 MB / 1.228 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.007, allocations: 0 / 1.228 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.007, allocations: 4 kB / 1.228 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.007, allocations: 0 / 1.228 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/1.007, allocations: 0.5824 MB / 1.229 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1.007, allocations: 4.047 kB / 1.229 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/1.008, allocations: 51.86 kB / 1.229 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.009, allocations: 168.7 kB / 1.229 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/1.009, allocations: 19.91 kB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/1.017, allocations: 2.291 MB / 1.231 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.017, allocations: 11.98 kB / 1.231 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/1.022, allocations: 0.7588 MB / 1.232 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/1.022, allocations: 148 kB / 1.232 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.022, allocations: 11.94 kB / 1.232 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/1.023, allocations: 31.97 kB / 1.232 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/1.023, allocations: 23.97 kB / 1.232 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/1.023, allocations: 15.98 kB / 1.232 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001141/1.024, allocations: 1.003 MB / 1.233 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.233 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005341/1.025, allocations: 107.9 kB / 1.234 GB, free: 11.18 MB / 0.9512 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.001612/1.026, allocations: 450.5 kB / 1.234 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.028, allocations: 0.5648 MB / 1.234 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.028, allocations: 0 / 1.234 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.029, allocations: 370.4 kB / 1.235 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/1.03, allocations: 118.3 kB / 1.235 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/1.033, allocations: 1.829 MB / 1.237 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/1.034, allocations: 0.9645 MB / 1.238 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.034, allocations: 47.41 kB / 1.238 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of SimCode: time 1.202e-06/1.034, allocations: 3.938 kB / 1.238 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of Templates: time 0.01817/1.052, allocations: 11.09 MB / 1.249 GB, free: 11.85 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches