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.0048/0.0048, allocations: 99.19 kB / 15.73 MB, free: 6.016 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.001171/0.001171, allocations: 191.8 kB / 16.67 MB, free: 5.926 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.593/2.593, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.09 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8302, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003332/0.8335, allocations: 2.216 MB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.9981, allocations: 151 MB / 1.37 GB, free: 8.332 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.9984, allocations: 7.938 kB / 1.37 GB, free: 8.324 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.9994, allocations: 0.7796 MB / 1.371 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.000868/1, allocations: 494.6 kB / 1.371 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/1.001, allocations: 409.6 kB / 1.372 GB, free: 6.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007735/1.002, allocations: 0.5693 MB / 1.372 GB, free: 6.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/1.002, allocations: 52.72 kB / 1.372 GB, free: 6.039 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/1.004, allocations: 365 kB / 1.373 GB, free: 5.691 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/1.004, allocations: 479.7 kB / 1.373 GB, free: 5.223 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/1.004, allocations: 24 kB / 1.373 GB, free: 5.199 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/1.005, allocations: 307.5 kB / 1.374 GB, free: 4.898 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/1.005, allocations: 187.6 kB / 1.374 GB, free: 4.715 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/1.006, allocations: 257.9 kB / 1.374 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/1.007, allocations: 0.7472 MB / 1.375 GB, free: 3.715 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.007, allocations: 0 / 1.375 GB, free: 3.715 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.503e-06/1.007, allocations: 0 / 1.375 GB, free: 3.715 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.007, allocations: 0 / 1.375 GB, free: 3.715 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.001567/1.008, allocations: 1.107 MB / 1.376 GB, free: 2.555 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.008, allocations: 8.031 kB / 1.376 GB, free: 2.547 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/1.01, allocations: 199.3 kB / 1.376 GB, free: 2.352 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/1.01, allocations: 0.4956 MB / 1.376 GB, free: 1.812 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.01, allocations: 12.38 kB / 1.376 GB, free: 1.801 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/1.01, allocations: 19.98 kB / 1.376 GB, free: 1.781 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009232/1.011, allocations: 331.2 kB / 1.377 GB, free: 1.441 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.011, allocations: 7.938 kB / 1.377 GB, free: 1.434 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/1.011, allocations: 4 kB / 1.377 GB, free: 1.43 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.011, allocations: 8 kB / 1.377 GB, free: 1.422 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.013, allocations: 332.7 kB / 1.377 GB, free: 1.098 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/1.015, allocations: 1.124 MB / 1.378 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.016, allocations: 384.1 kB / 1.379 GB, free: 15.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/1.017, allocations: 193.5 kB / 1.379 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/1.017, allocations: 11.89 kB / 1.379 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008522/1.018, allocations: 320.7 kB / 1.379 GB, free: 14.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/1.018, allocations: 0 / 1.379 GB, free: 14.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.00917/1.027, allocations: 1.216 MB / 1.38 GB, free: 13.74 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.027, allocations: 85.11 kB / 1.38 GB, free: 13.64 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.028, allocations: 1.345 MB / 1.382 GB, free: 12.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/1.028, allocations: 29.7 kB / 1.382 GB, free: 12.25 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/1.029, allocations: 364.5 kB / 1.382 GB, free: 11.89 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.029, allocations: 103.2 kB / 1.382 GB, free: 11.79 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/1.029, allocations: 65.67 kB / 1.382 GB, free: 11.72 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.029, allocations: 318 kB / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/1.03, allocations: 171.9 kB / 1.383 GB, free: 11.24 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/1.03, allocations: 235.6 kB / 1.383 GB, free: 10.99 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/1.032, allocations: 401.3 kB / 1.383 GB, free: 10.58 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.032, allocations: 0 / 1.383 GB, free: 10.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004225/1.036, allocations: 0.722 MB / 1.384 GB, free: 9.852 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.036, allocations: 8 kB / 1.384 GB, free: 9.844 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.036, allocations: 0 / 1.384 GB, free: 9.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.037, allocations: 176.7 kB / 1.384 GB, free: 9.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/1.037, allocations: 59.91 kB / 1.384 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008569/1.046, allocations: 2.3 MB / 1.386 GB, free: 7.172 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/1.047, allocations: 39.89 kB / 1.386 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.047, allocations: 15.98 kB / 1.387 GB, free: 7.117 MB / 1.107 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.0007458/1.048, allocations: 301.7 kB / 1.387 GB, free: 6.812 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/1.048, allocations: 95.33 kB / 1.387 GB, free: 6.719 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/1.053, allocations: 0.7428 MB / 1.388 GB, free: 5.965 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.053, allocations: 4 kB / 1.388 GB, free: 5.961 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.053, allocations: 4 kB / 1.388 GB, free: 5.957 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.053, allocations: 0 / 1.388 GB, free: 5.957 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/1.053, allocations: 0.5703 MB / 1.388 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.053, allocations: 3.938 kB / 1.388 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/1.054, allocations: 55.97 kB / 1.388 GB, free: 5.277 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009916/1.055, allocations: 172.6 kB / 1.388 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/1.055, allocations: 11.98 kB / 1.388 GB, free: 5.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007649/1.063, allocations: 2.307 MB / 1.391 GB, free: 2.645 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.063, allocations: 3.938 kB / 1.391 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/1.067, allocations: 0.7594 MB / 1.391 GB, free: 1.855 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/1.067, allocations: 152.5 kB / 1.392 GB, free: 1.688 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.067, allocations: 11.94 kB / 1.392 GB, free: 1.676 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/1.068, allocations: 23.97 kB / 1.392 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/1.068, allocations: 23.97 kB / 1.392 GB, free: 1.629 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/1.068, allocations: 19.98 kB / 1.392 GB, free: 1.609 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001227/1.069, allocations: 1.007 MB / 1.393 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/1.069, allocations: 0 / 1.393 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006665/1.07, allocations: 107.9 kB / 1.393 GB, free: 0.5 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.001316/1.071, allocations: 457.8 kB / 1.393 GB, free: 212 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001897/1.073, allocations: 0.5298 MB / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.073, allocations: 0 / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009806/1.074, allocations: 350.4 kB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/1.075, allocations: 117.1 kB / 1.394 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/1.077, allocations: 1.584 MB / 1.396 GB, free: 13.58 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/1.078, allocations: 0.9687 MB / 1.397 GB, free: 12.58 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003659/1.078, allocations: 94.78 kB / 1.397 GB, free: 12.49 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.079, allocations: 47.42 kB / 1.397 GB, free: 12.45 MB / 1.123 GB Notification: Performance of SimCode: time 1.934e-06/1.079, allocations: 0 / 1.397 GB, free: 12.45 MB / 1.123 GB Notification: Performance of Templates: time 0.01825/1.097, allocations: 10.28 MB / 1.407 GB, free: 2.211 MB / 1.123 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches