Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_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.0011/0.0011, 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.001069/0.001069, 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5173, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00345/0.5208, allocations: 2.194 MB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.6587, allocations: 150.6 MB / 1.167 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.6589, allocations: 7.938 kB / 1.167 GB, free: 9.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.6597, allocations: 0.7718 MB / 1.167 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.6604, allocations: 494.6 kB / 1.168 GB, free: 7.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/0.6613, allocations: 406.6 kB / 1.168 GB, free: 7.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.6619, allocations: 0.5653 MB / 1.169 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.6621, allocations: 93.05 kB / 1.169 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.6631, allocations: 365.1 kB / 1.169 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.6636, allocations: 479.7 kB / 1.17 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.6636, allocations: 24 kB / 1.17 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.6642, allocations: 299.5 kB / 1.17 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.6644, allocations: 187.7 kB / 1.17 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.6646, allocations: 258 kB / 1.17 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.6654, allocations: 0.724 MB / 1.171 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6654, allocations: 0 / 1.171 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6654, allocations: 4 kB / 1.171 GB, free: 4.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.6654, allocations: 0 / 1.171 GB, free: 4.527 MB / 0.92 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.0015/0.6669, allocations: 1.076 MB / 1.172 GB, free: 3.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6669, allocations: 11.98 kB / 1.172 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.667, allocations: 58.48 kB / 1.172 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6685, allocations: 190.8 kB / 1.172 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.6691, allocations: 486.7 kB / 1.173 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.6691, allocations: 20.36 kB / 1.173 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.6692, allocations: 16 kB / 1.173 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.6701, allocations: 334.9 kB / 1.173 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6701, allocations: 0 / 1.173 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.6701, allocations: 8 kB / 1.173 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6702, allocations: 11.92 kB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.6714, allocations: 340.7 kB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.6734, allocations: 1.12 MB / 1.175 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.6745, allocations: 393.4 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.6752, allocations: 205.6 kB / 1.175 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.6753, allocations: 15.91 kB / 1.175 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008002/0.6761, allocations: 309.3 kB / 1.176 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.6761, allocations: 4 kB / 1.176 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008596/0.6847, allocations: 1.212 MB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.6847, allocations: 81.11 kB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6859, allocations: 1.341 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.686, allocations: 37.69 kB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.6863, allocations: 364.5 kB / 1.178 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.6864, allocations: 98.64 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6865, allocations: 65.67 kB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.6866, allocations: 321.9 kB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.6872, allocations: 175.9 kB / 1.179 GB, free: 12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.6879, allocations: 231 kB / 1.179 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.6892, allocations: 398.7 kB / 1.18 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6892, allocations: 0 / 1.18 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003842/0.693, allocations: 0.7198 MB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6931, allocations: 5.094 kB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.6931, allocations: 4 kB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009989/0.6941, allocations: 176.7 kB / 1.181 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6944, allocations: 59.91 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007526/0.702, allocations: 2.308 MB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.7024, allocations: 39.84 kB / 1.183 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.7025, allocations: 15.98 kB / 1.183 GB, free: 7.879 MB / 0.9356 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.0003108/0.7028, allocations: 295.5 kB / 1.183 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7029, allocations: 86.84 kB / 1.183 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.7069, allocations: 0.7488 MB / 1.184 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.707, allocations: 4 kB / 1.184 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.707, allocations: 4 kB / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.707, allocations: 0 / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.7075, allocations: 0.5776 MB / 1.185 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7075, allocations: 0 / 1.185 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.7078, allocations: 51.91 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009518/0.7088, allocations: 180.6 kB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.7088, allocations: 11.98 kB / 1.185 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.7163, allocations: 2.303 MB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7163, allocations: 0 / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/0.7203, allocations: 0.762 MB / 1.188 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7204, allocations: 148 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.7205, allocations: 15.88 kB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.7209, allocations: 27.97 kB / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.721, allocations: 19.97 kB / 1.188 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.7211, allocations: 19.98 kB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009131/0.722, allocations: 1.003 MB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.722, allocations: 0 / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004558/0.7224, allocations: 111.9 kB / 1.189 GB, free: 1.285 MB / 0.9356 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.005139/0.7276, allocations: 1.637 MB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.7293, allocations: 0.5726 MB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7293, allocations: 0 / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.7303, allocations: 367.1 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.7309, allocations: 120.4 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.7445, allocations: 6.551 MB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.745, allocations: 0.98 MB / 1.199 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003445/0.7454, allocations: 90.84 kB / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.7457, allocations: 267.3 kB / 1.199 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.7457, allocations: 0 / 1.199 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.7836, allocations: 17.74 MB / 1.217 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.42, allocations: 10.2 kB / 1.217 GB, free: 5.02 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches