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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.92 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 159.2 MB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003829/0.2599, allocations: 2.203 MB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.4313, allocations: 150.5 MB / 1.213 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.4315, allocations: 11.94 kB / 1.213 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.4325, allocations: 0.7757 MB / 1.214 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.4332, allocations: 498.6 kB / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.434, allocations: 400.2 kB / 1.215 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.4346, allocations: 0.5655 MB / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4348, allocations: 87.09 kB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4359, allocations: 358.8 kB / 1.216 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.4364, allocations: 479.7 kB / 1.216 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.4365, allocations: 24 kB / 1.216 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.4371, allocations: 295.6 kB / 1.217 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4372, allocations: 187.6 kB / 1.217 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.4375, allocations: 261.9 kB / 1.217 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.4384, allocations: 0.7279 MB / 1.218 GB, free: 332 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4384, allocations: 4 kB / 1.218 GB, free: 328 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4384, allocations: 3.938 kB / 1.218 GB, free: 324 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4384, allocations: 0 / 1.218 GB, free: 324 kB / 0.9669 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.001666/0.4401, allocations: 1.066 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4401, allocations: 8.031 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.4402, allocations: 54.55 kB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.4417, allocations: 194.7 kB / 1.219 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.4424, allocations: 486.8 kB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4424, allocations: 16.36 kB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.4424, allocations: 27.94 kB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.4434, allocations: 334.9 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4434, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.4435, allocations: 15.94 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4435, allocations: 4 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.4449, allocations: 336.6 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.4471, allocations: 1.12 MB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4483, allocations: 406 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.449, allocations: 201.6 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.522e-05/0.4491, allocations: 19.77 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008781/0.45, allocations: 306 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.45, allocations: 0 / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009135/0.4591, allocations: 1.214 MB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.4592, allocations: 85.05 kB / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.4607, allocations: 1.337 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.4607, allocations: 37.7 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.4611, allocations: 368.4 kB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4612, allocations: 94.66 kB / 1.225 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4613, allocations: 65.67 kB / 1.225 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4615, allocations: 321.9 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.4622, allocations: 175.7 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.4629, allocations: 230.8 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4643, allocations: 398 kB / 1.226 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4644, allocations: 0 / 1.226 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00421/0.4686, allocations: 0.7171 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4686, allocations: 4 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4686, allocations: 8.062 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.4697, allocations: 176.6 kB / 1.227 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.47, allocations: 59.91 kB / 1.227 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/0.4782, allocations: 2.296 MB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.4787, allocations: 43.78 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.4788, allocations: 15.98 kB / 1.23 GB, free: 3.684 MB / 0.9825 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.0003522/0.4791, allocations: 298.1 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.4792, allocations: 90.89 kB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.4835, allocations: 0.7595 MB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4836, allocations: 4 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4836, allocations: 0 / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4836, allocations: 4 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.4842, allocations: 0.5703 MB / 1.231 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4843, allocations: 0 / 1.231 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.4845, allocations: 51.91 kB / 1.231 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.4856, allocations: 180.6 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4856, allocations: 11.98 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007958/0.4936, allocations: 2.3 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4936, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.4977, allocations: 0.7551 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4978, allocations: 144 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.4979, allocations: 15.94 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.4983, allocations: 27.91 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.4984, allocations: 23.97 kB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.4985, allocations: 15.98 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001082/0.4996, allocations: 1.003 MB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4996, allocations: 7.938 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004517/0.5, allocations: 111.9 kB / 1.236 GB, free: 13.07 MB / 0.9981 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.005949/0.506, allocations: 1.622 MB / 1.237 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.5079, allocations: 0.5841 MB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5079, allocations: 0 / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.5089, allocations: 359.2 kB / 1.238 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.5095, allocations: 122.1 kB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.5246, allocations: 6.569 MB / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.5252, allocations: 0.9645 MB / 1.246 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.5256, allocations: 86.91 kB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.5259, allocations: 263.3 kB / 1.246 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.5259, allocations: 4 kB / 1.246 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/0.9578, allocations: 17.75 MB / 1.263 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.38, allocations: 6.359 kB / 1.263 GB, free: 185.9 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/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