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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 213.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.89 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004131/0.3787, allocations: 2.134 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.178/0.5567, allocations: 132.4 MB / 1.495 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.557, allocations: 7.938 kB / 1.495 GB, free: 7.094 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5581, allocations: 0.7717 MB / 1.495 GB, free: 6.32 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.559, allocations: 0.5298 MB / 1.496 GB, free: 5.789 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.5599, allocations: 334.7 kB / 1.496 GB, free: 5.461 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007746/0.5607, allocations: 0.5927 MB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.5609, allocations: 60.81 kB / 1.497 GB, free: 4.809 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.5621, allocations: 367 kB / 1.497 GB, free: 4.461 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.5627, allocations: 0.5152 MB / 1.498 GB, free: 3.945 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.5628, allocations: 24 kB / 1.498 GB, free: 3.922 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.5634, allocations: 291.6 kB / 1.498 GB, free: 3.637 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.5636, allocations: 199.6 kB / 1.498 GB, free: 3.441 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.5638, allocations: 202.4 kB / 1.498 GB, free: 3.242 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.5648, allocations: 0.7622 MB / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5648, allocations: 0 / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5648, allocations: 0 / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.5648, allocations: 4 kB / 1.499 GB, free: 2.473 MB / 1.186 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.001729/0.5666, allocations: 1.043 MB / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5666, allocations: 12.03 kB / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.5667, allocations: 46.55 kB / 1.5 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.5685, allocations: 239.2 kB / 1.501 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.5692, allocations: 437.3 kB / 1.501 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5692, allocations: 12.38 kB / 1.501 GB, free: 0.625 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.5693, allocations: 24 kB / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.5702, allocations: 339.2 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5702, allocations: 0 / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.5702, allocations: 7.984 kB / 1.501 GB, free: 256 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.5702, allocations: 8 kB / 1.501 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.5716, allocations: 356.6 kB / 1.502 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.5739, allocations: 1.061 MB / 1.503 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5751, allocations: 401.3 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.5757, allocations: 197.6 kB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.5758, allocations: 11.94 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008649/0.5766, allocations: 329.2 kB / 1.504 GB, free: 13.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.5766, allocations: 0 / 1.504 GB, free: 13.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008627/0.5853, allocations: 1.174 MB / 1.505 GB, free: 12.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.5853, allocations: 81.11 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.587, allocations: 1.388 MB / 1.506 GB, free: 11.15 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.587, allocations: 33.7 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.5874, allocations: 372.5 kB / 1.507 GB, free: 10.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5875, allocations: 111.1 kB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5877, allocations: 61.67 kB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5878, allocations: 321.9 kB / 1.507 GB, free: 10.24 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/0.5885, allocations: 187.7 kB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.5892, allocations: 293.3 kB / 1.507 GB, free: 9.738 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.5906, allocations: 399.4 kB / 1.508 GB, free: 9.336 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5906, allocations: 11.94 kB / 1.508 GB, free: 9.324 MB / 1.201 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003949/0.5945, allocations: 0.7318 MB / 1.509 GB, free: 8.582 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5945, allocations: 4 kB / 1.509 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5946, allocations: 4 kB / 1.509 GB, free: 8.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5956, allocations: 180.6 kB / 1.509 GB, free: 8.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.596, allocations: 64.2 kB / 1.509 GB, free: 8.332 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007866/0.6038, allocations: 2.176 MB / 1.511 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.6046, allocations: 39.86 kB / 1.511 GB, free: 6.004 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.6046, allocations: 23.91 kB / 1.511 GB, free: 5.98 MB / 1.201 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.000535/0.6051, allocations: 295.6 kB / 1.511 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6053, allocations: 95.31 kB / 1.511 GB, free: 5.59 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.6095, allocations: 0.8491 MB / 1.512 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6095, allocations: 4 kB / 1.512 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6095, allocations: 0 / 1.512 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6095, allocations: 7.984 kB / 1.512 GB, free: 4.715 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/0.6103, allocations: 0.5378 MB / 1.513 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6103, allocations: 3.938 kB / 1.513 GB, free: 4.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.6107, allocations: 55.91 kB / 1.513 GB, free: 4.074 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009522/0.6116, allocations: 176.6 kB / 1.513 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.6117, allocations: 15.98 kB / 1.513 GB, free: 3.883 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/0.6191, allocations: 2.177 MB / 1.515 GB, free: 1.59 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6191, allocations: 4.062 kB / 1.515 GB, free: 1.586 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.6233, allocations: 0.7982 MB / 1.516 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.6234, allocations: 87.27 kB / 1.516 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.6235, allocations: 15.92 kB / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.624, allocations: 23.98 kB / 1.516 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.6241, allocations: 35.88 kB / 1.516 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.6241, allocations: 19.98 kB / 1.516 GB, free: 0.582 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001231/0.6254, allocations: 1.034 MB / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6254, allocations: 0 / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005076/0.6259, allocations: 111.9 kB / 1.517 GB, free: 15.44 MB / 1.217 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * 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.005961/0.6318, allocations: 1.698 MB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.6337, allocations: 0.5672 MB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6337, allocations: 0 / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6347, allocations: 362.7 kB / 1.52 GB, free: 12.95 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.6354, allocations: 125.5 kB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.651, allocations: 6.48 MB / 1.526 GB, free: 6.176 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6514, allocations: 387.4 kB / 1.527 GB, free: 5.777 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003985/0.6518, allocations: 99.09 kB / 1.527 GB, free: 5.684 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.6522, allocations: 275.3 kB / 1.527 GB, free: 5.414 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/0.6522, allocations: 3.938 kB / 1.527 GB, free: 5.41 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.7086, allocations: 19.52 MB / 1.546 GB, free: 2.074 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.21, allocations: 4.062 kB / 1.546 GB, free: 2.07 MB / 1.232 GB " [Timeout remaining time 286] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.396360566373914]