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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 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.001187/0.001187, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.742 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.67 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2505, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00346/0.254, allocations: 2.209 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1425/0.3964, allocations: 150.5 MB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.3967, allocations: 4 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.3976, allocations: 0.7757 MB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.3983, allocations: 0.4908 MB / 1.214 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009404/0.3992, allocations: 399.4 kB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.3998, allocations: 0.5694 MB / 1.215 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.4, allocations: 80.98 kB / 1.215 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.401, allocations: 360.2 kB / 1.215 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.4015, allocations: 479.7 kB / 1.216 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.726e-05/0.4016, allocations: 24 kB / 1.216 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005463/0.4022, allocations: 295.6 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.4023, allocations: 187.6 kB / 1.216 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.4025, allocations: 265.9 kB / 1.217 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.4033, allocations: 0.724 MB / 1.217 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.4033, allocations: 0 / 1.217 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4033, allocations: 4 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.4034, allocations: 0 / 1.217 GB, free: 0.5938 MB / 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.00152/0.4049, allocations: 1.073 MB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4049, allocations: 8.031 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.405, allocations: 50.55 kB / 1.218 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4066, allocations: 198.7 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.4071, allocations: 486.8 kB / 1.219 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4071, allocations: 20.31 kB / 1.219 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.4072, allocations: 16 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.4081, allocations: 331.2 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4081, allocations: 0 / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.4081, allocations: 12 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4081, allocations: 7.938 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.4095, allocations: 340.6 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.4115, allocations: 1.116 MB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4126, allocations: 406.8 kB / 1.221 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.4133, allocations: 208 kB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.4133, allocations: 15.78 kB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/0.4142, allocations: 310.5 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.4142, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008882/0.4231, allocations: 1.215 MB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.4231, allocations: 81.11 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4244, allocations: 1.341 MB / 1.224 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.4244, allocations: 37.69 kB / 1.224 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.4247, allocations: 364.4 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.4248, allocations: 98.66 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4249, allocations: 65.67 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.425, allocations: 325.9 kB / 1.225 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.4257, allocations: 179.8 kB / 1.225 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.4264, allocations: 231.1 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.4277, allocations: 390.3 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4277, allocations: 0 / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004092/0.4318, allocations: 0.7233 MB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4319, allocations: 8 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4319, allocations: 3.938 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.433, allocations: 180.7 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.4333, allocations: 59.91 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.4413, allocations: 2.287 MB / 1.229 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.4418, allocations: 47.81 kB / 1.229 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.4419, allocations: 15.98 kB / 1.229 GB, free: 3.957 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.0003427/0.4422, allocations: 301.6 kB / 1.229 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.4423, allocations: 86.89 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.4466, allocations: 0.7545 MB / 1.23 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4466, allocations: 8 kB / 1.23 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4466, allocations: 4 kB / 1.23 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4466, allocations: 0 / 1.23 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.4472, allocations: 0.5625 MB / 1.231 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4472, allocations: 4.062 kB / 1.231 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4475, allocations: 55.91 kB / 1.231 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009963/0.4485, allocations: 172.6 kB / 1.231 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.4485, allocations: 11.98 kB / 1.231 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/0.4562, allocations: 2.304 MB / 1.233 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4562, allocations: 0 / 1.233 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.4603, allocations: 0.7589 MB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4604, allocations: 144 kB / 1.234 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.4605, allocations: 11.94 kB / 1.234 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.461, allocations: 31.97 kB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.4611, allocations: 19.97 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.4611, allocations: 19.98 kB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000943/0.4621, allocations: 1.003 MB / 1.235 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4621, allocations: 0 / 1.235 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000468/0.4626, allocations: 111.9 kB / 1.235 GB, free: 13.36 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.005334/0.4679, allocations: 1.637 MB / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.4697, allocations: 0.588 MB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4697, allocations: 4 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.4707, allocations: 350.5 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.4714, allocations: 125.1 kB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.4856, allocations: 6.565 MB / 1.244 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.4861, allocations: 0.9684 MB / 1.245 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.4865, allocations: 78.94 kB / 1.245 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.4868, allocations: 263.3 kB / 1.246 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4868, allocations: 4 kB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4493/0.9361, allocations: 17.75 MB / 1.263 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.79, allocations: 1.312 kB / 1.263 GB, free: 186.6 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches