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.001667/0.001667, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002104/0.002104, allocations: 216.5 kB / 22.25 MB, free: 5.078 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 8.027 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.275/3.275, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002023/0.002023, allocations: 64.31 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003545/0.3596, allocations: 2.261 MB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.5422, allocations: 154 MB / 1.505 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.5424, allocations: 7.938 kB / 1.505 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5434, allocations: 0.7756 MB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0009069/0.5443, allocations: 0.5258 MB / 1.507 GB, free: 10.33 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009033/0.5452, allocations: 346.7 kB / 1.507 GB, free: 9.992 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.5459, allocations: 0.581 MB / 1.508 GB, free: 9.406 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.5461, allocations: 56.89 kB / 1.508 GB, free: 9.355 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.5473, allocations: 389.7 kB / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.548, allocations: 0.5347 MB / 1.509 GB, free: 8.453 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.548, allocations: 24 kB / 1.509 GB, free: 8.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.5487, allocations: 311.5 kB / 1.509 GB, free: 8.125 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.5489, allocations: 183.7 kB / 1.509 GB, free: 7.945 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.5491, allocations: 269.8 kB / 1.509 GB, free: 7.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.5501, allocations: 0.7583 MB / 1.51 GB, free: 6.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5501, allocations: 0 / 1.51 GB, free: 6.918 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5501, allocations: 0 / 1.51 GB, free: 6.918 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.5502, allocations: 0 / 1.51 GB, free: 6.918 MB / 1.201 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.001855/0.552, allocations: 1.047 MB / 1.511 GB, free: 5.836 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5521, allocations: 8.031 kB / 1.511 GB, free: 5.828 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.5521, allocations: 54.55 kB / 1.511 GB, free: 5.766 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.5541, allocations: 227.2 kB / 1.511 GB, free: 5.543 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.5549, allocations: 452.2 kB / 1.512 GB, free: 5.07 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5549, allocations: 12.38 kB / 1.512 GB, free: 5.059 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.555, allocations: 23.98 kB / 1.512 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009869/0.5559, allocations: 330.9 kB / 1.512 GB, free: 4.695 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.556, allocations: 0 / 1.512 GB, free: 4.695 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.556, allocations: 12 kB / 1.512 GB, free: 4.684 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.556, allocations: 4 kB / 1.512 GB, free: 4.68 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5573, allocations: 348.6 kB / 1.512 GB, free: 4.34 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.5598, allocations: 1.092 MB / 1.514 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5609, allocations: 393.1 kB / 1.514 GB, free: 2.797 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.5616, allocations: 193.6 kB / 1.514 GB, free: 2.602 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.5616, allocations: 19.91 kB / 1.514 GB, free: 2.582 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.5625, allocations: 300.8 kB / 1.514 GB, free: 2.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.5625, allocations: 3.938 kB / 1.514 GB, free: 2.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.009216/0.5717, allocations: 1.153 MB / 1.515 GB, free: 1.102 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.5718, allocations: 89.09 kB / 1.516 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.5734, allocations: 1.361 MB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.5735, allocations: 33.7 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.5738, allocations: 372.5 kB / 1.517 GB, free: 15.22 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5739, allocations: 107.1 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5741, allocations: 65.67 kB / 1.517 GB, free: 15.04 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5742, allocations: 321.9 kB / 1.518 GB, free: 14.72 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.5749, allocations: 175.7 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.5756, allocations: 229.9 kB / 1.518 GB, free: 14.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5769, allocations: 396.1 kB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5769, allocations: 0 / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004113/0.5811, allocations: 0.7208 MB / 1.519 GB, free: 13.17 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5811, allocations: 10.19 kB / 1.519 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5811, allocations: 0 / 1.519 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.5822, allocations: 184.7 kB / 1.519 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5826, allocations: 59.89 kB / 1.519 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008357/0.5909, allocations: 2.208 MB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.5915, allocations: 44.19 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.5916, allocations: 15.98 kB / 1.522 GB, free: 10.54 MB / 1.217 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.0004041/0.592, allocations: 297.7 kB / 1.522 GB, free: 10.24 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5921, allocations: 87.38 kB / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.5966, allocations: 0.8211 MB / 1.523 GB, free: 9.32 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5966, allocations: 4 kB / 1.523 GB, free: 9.316 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5966, allocations: 0 / 1.523 GB, free: 9.316 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5966, allocations: 0 / 1.523 GB, free: 9.316 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.5974, allocations: 0.5534 MB / 1.523 GB, free: 8.719 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5974, allocations: 0 / 1.523 GB, free: 8.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.5977, allocations: 47.97 kB / 1.523 GB, free: 8.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.5987, allocations: 180.6 kB / 1.524 GB, free: 8.492 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.5988, allocations: 15.97 kB / 1.524 GB, free: 8.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007837/0.6066, allocations: 2.196 MB / 1.526 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6066, allocations: 0 / 1.526 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.6108, allocations: 0.7636 MB / 1.527 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.6109, allocations: 75.38 kB / 1.527 GB, free: 5.301 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.611, allocations: 19.92 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.6115, allocations: 23.98 kB / 1.527 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.6116, allocations: 23.95 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.6116, allocations: 19.97 kB / 1.527 GB, free: 5.215 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001187/0.6128, allocations: 1.014 MB / 1.528 GB, free: 4.203 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6128, allocations: 0 / 1.528 GB, free: 4.203 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005735/0.6134, allocations: 111.9 kB / 1.528 GB, free: 4.094 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 (31): * Single equations (assignments): 26 * 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.006227/0.6196, allocations: 1.637 MB / 1.529 GB, free: 2.582 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.6217, allocations: 0.5302 MB / 1.53 GB, free: 2.039 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6217, allocations: 4 kB / 1.53 GB, free: 2.035 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6227, allocations: 338.5 kB / 1.53 GB, free: 1.691 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.6235, allocations: 124.2 kB / 1.53 GB, free: 1.578 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.6393, allocations: 6.404 MB / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.64, allocations: 0.9758 MB / 1.538 GB, free: 9.996 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.6404, allocations: 90.89 kB / 1.538 GB, free: 9.906 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.6407, allocations: 275.3 kB / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of SimCode: time 1.383e-06/0.6407, allocations: 0 / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.6978, allocations: 18.43 MB / 1.556 GB, free: 7.332 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.85, allocations: 7.203 kB / 1.556 GB, free: 7.328 MB / 1.248 GB " [Timeout remaining time 285] (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.943628052999884]