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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004497/0.004497, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.001264/0.001264, allocations: 196 kB / 16.67 MB, free: 5.961 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.89 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 162.2 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003676/0.2873, allocations: 2.205 MB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6982/0.9856, allocations: 150.6 MB / 1.391 GB, free: 4.48 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.9857, allocations: 7.688 kB / 1.391 GB, free: 4.477 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.9867, allocations: 0.7775 MB / 1.391 GB, free: 4.105 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.9874, allocations: 494.4 kB / 1.392 GB, free: 3.844 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.9882, allocations: 395 kB / 1.392 GB, free: 3.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.9888, allocations: 0.5666 MB / 1.393 GB, free: 3.262 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.989, allocations: 74.38 kB / 1.393 GB, free: 3.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.9901, allocations: 376.8 kB / 1.393 GB, free: 3.047 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.9906, allocations: 477 kB / 1.394 GB, free: 2.859 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.9906, allocations: 23.62 kB / 1.394 GB, free: 2.859 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.9912, allocations: 298.8 kB / 1.394 GB, free: 2.719 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.9914, allocations: 192 kB / 1.394 GB, free: 2.602 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.9916, allocations: 258 kB / 1.394 GB, free: 2.402 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008844/0.9925, allocations: 0.742 MB / 1.395 GB, free: 1.934 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9925, allocations: 0 / 1.395 GB, free: 1.934 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9925, allocations: 5.281 kB / 1.395 GB, free: 1.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.9925, allocations: 4 kB / 1.395 GB, free: 1.926 MB / 1.092 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.001645/0.9942, allocations: 1.108 MB / 1.396 GB, free: 1 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9942, allocations: 9.125 kB / 1.396 GB, free: 1 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.9943, allocations: 58.14 kB / 1.396 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.9958, allocations: 195.8 kB / 1.396 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.9964, allocations: 0.491 MB / 1.397 GB, free: 424 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.9965, allocations: 12.19 kB / 1.397 GB, free: 420 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.9965, allocations: 22.28 kB / 1.397 GB, free: 412 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.9975, allocations: 334.9 kB / 1.397 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9975, allocations: 3.938 kB / 1.397 GB, free: 176 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.9975, allocations: 6.969 kB / 1.397 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9975, allocations: 8.406 kB / 1.397 GB, free: 168 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.9989, allocations: 339.2 kB / 1.398 GB, free: 4 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/1.001, allocations: 1.106 MB / 1.399 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.002, allocations: 406.8 kB / 1.399 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/1.003, allocations: 204.7 kB / 1.399 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/1.003, allocations: 9.062 kB / 1.399 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008245/1.004, allocations: 311.2 kB / 1.4 GB, free: 14.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/1.004, allocations: 0 / 1.4 GB, free: 14.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.008822/1.013, allocations: 1.222 MB / 1.401 GB, free: 13.92 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.013, allocations: 80.64 kB / 1.401 GB, free: 13.83 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.014, allocations: 1.345 MB / 1.402 GB, free: 13.21 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/1.014, allocations: 33.02 kB / 1.402 GB, free: 13.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.014, allocations: 364.7 kB / 1.403 GB, free: 12.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/1.014, allocations: 105.2 kB / 1.403 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.015, allocations: 67.14 kB / 1.403 GB, free: 12.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.015, allocations: 321.2 kB / 1.403 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/1.015, allocations: 173.7 kB / 1.403 GB, free: 12.33 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/1.016, allocations: 235.4 kB / 1.403 GB, free: 12.17 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.017, allocations: 396.5 kB / 1.404 GB, free: 11.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.017, allocations: 1.062 kB / 1.404 GB, free: 11.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004003/1.021, allocations: 0.7158 MB / 1.405 GB, free: 11.57 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.022, allocations: 5.375 kB / 1.405 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.022, allocations: 8.109 kB / 1.405 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.023, allocations: 181 kB / 1.405 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.023, allocations: 64.7 kB / 1.405 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/1.031, allocations: 2.293 MB / 1.407 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/1.031, allocations: 41.14 kB / 1.407 GB, free: 9.535 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.031, allocations: 22.2 kB / 1.407 GB, free: 9.523 MB / 1.107 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.0003384/1.032, allocations: 294.8 kB / 1.407 GB, free: 9.336 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.032, allocations: 87.84 kB / 1.407 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/1.036, allocations: 0.746 MB / 1.408 GB, free: 8.883 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.036, allocations: 3.656 kB / 1.408 GB, free: 8.883 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/1.036, allocations: 1.156 kB / 1.408 GB, free: 8.883 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/1.036, allocations: 3.984 kB / 1.408 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/1.037, allocations: 0.573 MB / 1.409 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.037, allocations: 1.375 kB / 1.409 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/1.037, allocations: 49.03 kB / 1.409 GB, free: 8.422 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009926/1.038, allocations: 178 kB / 1.409 GB, free: 8.332 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.038, allocations: 13.48 kB / 1.409 GB, free: 8.324 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007794/1.046, allocations: 2.292 MB / 1.411 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.046, allocations: 5.438 kB / 1.411 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/1.05, allocations: 0.7639 MB / 1.412 GB, free: 5.996 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.05, allocations: 151.5 kB / 1.412 GB, free: 5.848 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/1.05, allocations: 16.16 kB / 1.412 GB, free: 5.836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/1.051, allocations: 26.78 kB / 1.412 GB, free: 5.824 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/1.051, allocations: 22.69 kB / 1.412 GB, free: 5.812 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/1.051, allocations: 22.22 kB / 1.412 GB, free: 5.801 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001009/1.052, allocations: 0.999 MB / 1.413 GB, free: 5.34 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.052, allocations: 0 / 1.413 GB, free: 5.34 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000441/1.052, allocations: 113.2 kB / 1.413 GB, free: 5.32 MB / 1.107 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.005865/1.058, allocations: 1.643 MB / 1.415 GB, free: 4.242 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.06, allocations: 0.5539 MB / 1.415 GB, free: 3.914 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.06, allocations: 7.875 kB / 1.415 GB, free: 3.906 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/1.061, allocations: 361.3 kB / 1.416 GB, free: 3.672 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/1.061, allocations: 122.4 kB / 1.416 GB, free: 3.605 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.076, allocations: 6.349 MB / 1.422 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.077, allocations: 0.9723 MB / 1.423 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003039/1.077, allocations: 86.84 kB / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/1.078, allocations: 267.3 kB / 1.423 GB, free: 12.86 MB / 1.123 GB Notification: Performance of SimCode: time 2.71e-07/1.078, allocations: 0 / 1.423 GB, free: 12.86 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/1.124, allocations: 17.98 MB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.64, allocations: 10.12 kB / 1.441 GB, free: 11.07 MB / 1.139 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 400 --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