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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_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.006221/0.006221, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001761/0.001761, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.428/2.428, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 61.88 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3354, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004379/0.3398, allocations: 2.195 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.5198, allocations: 150.6 MB / 1.237 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.5202, allocations: 7.938 kB / 1.237 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.5215, allocations: 0.7796 MB / 1.237 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.5226, allocations: 494.6 kB / 1.238 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.5241, allocations: 404.7 kB / 1.238 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.525, allocations: 0.5655 MB / 1.239 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.5253, allocations: 84.91 kB / 1.239 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.5268, allocations: 364.8 kB / 1.239 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.5275, allocations: 479.7 kB / 1.24 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.5276, allocations: 28 kB / 1.24 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.5284, allocations: 299.6 kB / 1.24 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.5286, allocations: 187.7 kB / 1.24 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.529, allocations: 254 kB / 1.24 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.5301, allocations: 0.7465 MB / 1.241 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5301, allocations: 0 / 1.241 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5302, allocations: 0 / 1.241 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.5302, allocations: 0 / 1.241 GB, free: 4.027 MB / 0.9981 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.002027/0.5322, allocations: 1.107 MB / 1.242 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5323, allocations: 12.03 kB / 1.242 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.5323, allocations: 54.55 kB / 1.242 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.5341, allocations: 199.3 kB / 1.242 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.5348, allocations: 499.5 kB / 1.243 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.5349, allocations: 16.38 kB / 1.243 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.535, allocations: 23.94 kB / 1.243 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.536, allocations: 338.9 kB / 1.243 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.536, allocations: 0 / 1.243 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.5361, allocations: 11.98 kB / 1.243 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5361, allocations: 4 kB / 1.243 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5375, allocations: 340.6 kB / 1.244 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.54, allocations: 1.113 MB / 1.245 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.5413, allocations: 401.3 kB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.542, allocations: 213.4 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.542, allocations: 7.938 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008897/0.5429, allocations: 310.3 kB / 1.246 GB, free: 15.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.543, allocations: 0 / 1.246 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.00928/0.5522, allocations: 1.21 MB / 1.247 GB, free: 13.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.5524, allocations: 93.05 kB / 1.247 GB, free: 13.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.5541, allocations: 1.341 MB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.5542, allocations: 33.7 kB / 1.248 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.5545, allocations: 360.5 kB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.5547, allocations: 111.1 kB / 1.249 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.5548, allocations: 61.67 kB / 1.249 GB, free: 11.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.555, allocations: 325.9 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.5557, allocations: 167.9 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.5564, allocations: 229.9 kB / 1.249 GB, free: 11.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.5578, allocations: 400.4 kB / 1.25 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5578, allocations: 0 / 1.25 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004207/0.562, allocations: 0.72 MB / 1.251 GB, free: 10.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5621, allocations: 4 kB / 1.251 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5621, allocations: 4 kB / 1.251 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.5632, allocations: 176.7 kB / 1.251 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.5636, allocations: 63.89 kB / 1.251 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008389/0.572, allocations: 2.296 MB / 1.253 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.5727, allocations: 47.78 kB / 1.253 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/0.5728, allocations: 15.98 kB / 1.253 GB, free: 7.328 MB / 1.014 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.0005427/0.5734, allocations: 305.7 kB / 1.253 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.5737, allocations: 87.38 kB / 1.253 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.578, allocations: 0.7467 MB / 1.254 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.5781, allocations: 4 kB / 1.254 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.5781, allocations: 4 kB / 1.254 GB, free: 6.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.5781, allocations: 3.984 kB / 1.254 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.5791, allocations: 0.5702 MB / 1.255 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.5791, allocations: 0 / 1.255 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.5795, allocations: 55.91 kB / 1.255 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.5805, allocations: 172.6 kB / 1.255 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.5806, allocations: 15.97 kB / 1.255 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008148/0.5887, allocations: 2.299 MB / 1.257 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5888, allocations: 0 / 1.257 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.5931, allocations: 0.7586 MB / 1.258 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.5934, allocations: 152.5 kB / 1.258 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5935, allocations: 15.92 kB / 1.258 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.594, allocations: 19.98 kB / 1.258 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.5941, allocations: 23.97 kB / 1.258 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.5942, allocations: 23.97 kB / 1.258 GB, free: 1.828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001263/0.5955, allocations: 1.003 MB / 1.259 GB, free: 0.832 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5955, allocations: 0 / 1.259 GB, free: 0.832 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006297/0.5961, allocations: 115.8 kB / 1.259 GB, free: 0.7188 MB / 1.014 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.5959/1.192, allocations: 1.638 MB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.194, allocations: 0.5524 MB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.194, allocations: 0 / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009931/1.195, allocations: 362.2 kB / 1.262 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/1.196, allocations: 121.5 kB / 1.262 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/1.212, allocations: 6.35 MB / 1.268 GB, free: 172 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/1.212, allocations: 0.9679 MB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004053/1.213, allocations: 87.08 kB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.213, allocations: 265 kB / 1.269 GB, free: 171.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.213, allocations: 0 / 1.269 GB, free: 171.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/1.258, allocations: 17.97 MB / 1.287 GB, free: 167 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.97, allocations: 11.77 kB / 1.287 GB, free: 166.9 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches