Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0007953/0.0007952, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005248/0.005248, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.8734, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002542/0.876, allocations: 1.886 MB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1773/1.053, allocations: 146.7 MB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/1.054, allocations: 4 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/1.055, allocations: 0.7758 MB / 1.101 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007546/1.056, allocations: 474.8 kB / 1.101 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/1.057, allocations: 349.2 kB / 1.102 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006278/1.057, allocations: 0.5459 MB / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/1.058, allocations: 76.7 kB / 1.102 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/1.059, allocations: 322 kB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/1.059, allocations: 451.8 kB / 1.103 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/1.059, allocations: 8 kB / 1.103 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/1.06, allocations: 291.6 kB / 1.103 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/1.06, allocations: 187.6 kB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/1.06, allocations: 271.6 kB / 1.104 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008044/1.061, allocations: 0.6985 MB / 1.104 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.061, allocations: 0 / 1.104 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/1.061, allocations: 0 / 1.104 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.061, allocations: 0 / 1.104 GB, free: 5.859 MB / 0.8575 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.001545/1.063, allocations: 0.968 MB / 1.105 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.063, allocations: 16.03 kB / 1.105 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/1.064, allocations: 186.8 kB / 1.106 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/1.065, allocations: 494.6 kB / 1.106 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/1.065, allocations: 20.34 kB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/1.065, allocations: 20 kB / 1.106 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/1.066, allocations: 338.9 kB / 1.106 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.066, allocations: 4 kB / 1.106 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/1.066, allocations: 4 kB / 1.106 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/1.066, allocations: 4 kB / 1.106 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.067, allocations: 344.6 kB / 1.107 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/1.07, allocations: 1.113 MB / 1.108 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/1.071, allocations: 397.3 kB / 1.108 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/1.072, allocations: 201.6 kB / 1.108 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/1.072, allocations: 11.98 kB / 1.108 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009324/1.073, allocations: 308.8 kB / 1.109 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/1.073, allocations: 0 / 1.109 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.009296/1.082, allocations: 1.207 MB / 1.11 GB, free: 36 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/1.082, allocations: 85.05 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.084, allocations: 1.337 MB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/1.084, allocations: 33.7 kB / 1.111 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/1.084, allocations: 368.4 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.084, allocations: 94.64 kB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/1.085, allocations: 33.64 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.085, allocations: 326 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/1.085, allocations: 167.9 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/1.086, allocations: 233.7 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.087, allocations: 394 kB / 1.113 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.087, allocations: 3.938 kB / 1.113 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004227/1.092, allocations: 0.7046 MB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.092, allocations: 8 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.092, allocations: 3.984 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.093, allocations: 172.7 kB / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/1.093, allocations: 67.89 kB / 1.114 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/1.101, allocations: 2.103 MB / 1.116 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/1.102, allocations: 51.91 kB / 1.116 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.102, allocations: 15.97 kB / 1.116 GB, free: 9.641 MB / 0.8731 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.0005115/1.102, allocations: 291.3 kB / 1.116 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.102, allocations: 86.95 kB / 1.116 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/1.107, allocations: 0.7521 MB / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.107, allocations: 8 kB / 1.117 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.107, allocations: 0 / 1.117 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.107, allocations: 3.984 kB / 1.117 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.108, allocations: 0.5662 MB / 1.118 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.108, allocations: 0 / 1.118 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.108, allocations: 47.91 kB / 1.118 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/1.109, allocations: 184.6 kB / 1.118 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/1.109, allocations: 15.98 kB / 1.118 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007693/1.117, allocations: 2.091 MB / 1.12 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.117, allocations: 4.031 kB / 1.12 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/1.121, allocations: 0.7473 MB / 1.121 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/1.122, allocations: 159.9 kB / 1.121 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.122, allocations: 12 kB / 1.121 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/1.122, allocations: 35.84 kB / 1.121 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.122, allocations: 27.91 kB / 1.121 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/1.122, allocations: 11.98 kB / 1.121 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001378/1.124, allocations: 1.007 MB / 1.122 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.124, allocations: 0 / 1.122 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006763/1.125, allocations: 115.9 kB / 1.122 GB, free: 3.254 MB / 0.8731 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.001117/1.126, allocations: 434.2 kB / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001947/1.128, allocations: 0.5414 MB / 1.123 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.128, allocations: 0 / 1.123 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.129, allocations: 366.6 kB / 1.123 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009053/1.13, allocations: 118.1 kB / 1.123 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/1.133, allocations: 1.785 MB / 1.125 GB, free: 128 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/1.134, allocations: 0.9684 MB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004162/1.134, allocations: 95.14 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/1.134, allocations: 39.42 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/1.134, allocations: 0 / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of Templates: time 0.02124/1.156, allocations: 9.682 MB / 1.136 GB, free: 5.375 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches