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.006668/0.006668, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001649/0.001649, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 58.5 kB / 0.9503 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.212, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00301/0.215, allocations: 2.199 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.3547, allocations: 150.6 MB / 1.237 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3549, allocations: 4 kB / 1.237 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.3558, allocations: 0.7835 MB / 1.237 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000746/0.3566, allocations: 494.6 kB / 1.238 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.3576, allocations: 404.9 kB / 1.238 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000636/0.3582, allocations: 0.5694 MB / 1.239 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3584, allocations: 75.53 kB / 1.239 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.3595, allocations: 363.9 kB / 1.239 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.36, allocations: 483.7 kB / 1.24 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.36, allocations: 24 kB / 1.24 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.3606, allocations: 299.6 kB / 1.24 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.3608, allocations: 187.7 kB / 1.24 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.361, allocations: 261.9 kB / 1.24 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.3619, allocations: 0.7404 MB / 1.241 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3619, allocations: 0 / 1.241 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3619, allocations: 0 / 1.241 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3619, allocations: 0 / 1.241 GB, free: 4.043 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.001573/0.3635, allocations: 1.072 MB / 1.242 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3635, allocations: 12.03 kB / 1.242 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.3636, allocations: 50.55 kB / 1.242 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.3652, allocations: 202.7 kB / 1.242 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.3658, allocations: 490.8 kB / 1.243 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3658, allocations: 12.38 kB / 1.243 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.3659, allocations: 24 kB / 1.243 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.3668, allocations: 334.9 kB / 1.243 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3668, allocations: 3.984 kB / 1.243 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.3668, allocations: 8 kB / 1.243 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3668, allocations: 4 kB / 1.243 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3681, allocations: 344.6 kB / 1.244 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3702, allocations: 1.109 MB / 1.245 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3714, allocations: 397.3 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.3721, allocations: 217.4 kB / 1.245 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.3721, allocations: 11.84 kB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.373, allocations: 306.3 kB / 1.246 GB, free: 15.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.373, allocations: 4 kB / 1.246 GB, free: 15.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.009189/0.3822, allocations: 1.213 MB / 1.247 GB, free: 14.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.3823, allocations: 81.11 kB / 1.247 GB, free: 13.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.3837, allocations: 1.345 MB / 1.248 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.3838, allocations: 37.64 kB / 1.248 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.3841, allocations: 364.5 kB / 1.249 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.3842, allocations: 102.6 kB / 1.249 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3843, allocations: 65.67 kB / 1.249 GB, free: 12.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3844, allocations: 321.9 kB / 1.249 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.3851, allocations: 167.9 kB / 1.249 GB, free: 11.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.3858, allocations: 229.9 kB / 1.249 GB, free: 11.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.3871, allocations: 396.4 kB / 1.25 GB, free: 10.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3871, allocations: 0 / 1.25 GB, free: 10.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004142/0.3913, allocations: 0.7157 MB / 1.25 GB, free: 10.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3913, allocations: 4 kB / 1.25 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3913, allocations: 4 kB / 1.25 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.3925, allocations: 180.7 kB / 1.251 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.3928, allocations: 59.89 kB / 1.251 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008041/0.4009, allocations: 2.295 MB / 1.253 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.4014, allocations: 47.78 kB / 1.253 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.4015, allocations: 11.98 kB / 1.253 GB, free: 7.41 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.0003655/0.4018, allocations: 297.7 kB / 1.253 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.402, allocations: 90.81 kB / 1.253 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.4063, allocations: 0.7545 MB / 1.254 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4063, allocations: 7.938 kB / 1.254 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4063, allocations: 320 / 1.254 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4064, allocations: 7.984 kB / 1.254 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.407, allocations: 0.5663 MB / 1.255 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.407, allocations: 0 / 1.255 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.4073, allocations: 51.91 kB / 1.255 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.4083, allocations: 180.6 kB / 1.255 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.4083, allocations: 15.92 kB / 1.255 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00794/0.4163, allocations: 2.303 MB / 1.257 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4163, allocations: 0 / 1.257 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.4204, allocations: 0.7504 MB / 1.258 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4206, allocations: 144 kB / 1.258 GB, free: 1.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.4206, allocations: 11.94 kB / 1.258 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.4211, allocations: 27.97 kB / 1.258 GB, free: 1.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.4212, allocations: 27.91 kB / 1.258 GB, free: 1.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4212, allocations: 19.97 kB / 1.258 GB, free: 1.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009585/0.4222, allocations: 0.9988 MB / 1.259 GB, free: 0.918 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4222, allocations: 4 kB / 1.259 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004989/0.4227, allocations: 115.9 kB / 1.259 GB, free: 0.8008 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.4419/0.8646, allocations: 1.619 MB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.8665, allocations: 0.5466 MB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8665, allocations: 0.7812 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.8675, allocations: 361.2 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.8682, allocations: 129.9 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.8825, allocations: 6.311 MB / 1.268 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.883, allocations: 0.9709 MB / 1.269 GB, free: 171.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.8833, allocations: 85 kB / 1.269 GB, free: 171.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.8836, allocations: 265 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.8836, allocations: 1.969 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4183/1.302, allocations: 17.98 MB / 1.287 GB, free: 166.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/14.03, allocations: 9.094 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 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.mat","/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