Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001271/0.001271, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001485/0.001485, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.988 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.37/3.37, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.002055/0.002055, allocations: 70.41 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003838/0.3417, allocations: 1.788 MB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.3419, allocations: 75.73 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.342, allocations: 7.938 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.3421, allocations: 11.86 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.3421, allocations: 11.88 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.3422, allocations: 31.95 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3424, allocations: 111.6 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.3426, allocations: 45.2 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.3427, allocations: 39.86 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.3428, allocations: 51.77 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.3428, allocations: 15.94 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.3428, allocations: 8 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.3429, allocations: 27.92 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.3429, allocations: 51.73 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3431, allocations: 111.5 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3431, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3431, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3431, allocations: 4 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000871/0.344, allocations: 353.8 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3441, allocations: 8.031 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.3441, allocations: 50.67 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3442, allocations: 8.891 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3444, allocations: 146.3 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3444, allocations: 8.375 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3445, allocations: 4.375 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.3448, allocations: 132.2 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3448, allocations: 3.938 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.3449, allocations: 12 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3449, allocations: 0 / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.3453, allocations: 119.9 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.346, allocations: 355.5 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.3464, allocations: 86.5 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3466, allocations: 56.94 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3467, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3467, allocations: 42.5 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3467, allocations: 0 / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0007631/0.3475, allocations: 197.5 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3475, allocations: 55.41 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3477, allocations: 123.7 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3477, allocations: 25.7 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.3478, allocations: 108.1 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3478, allocations: 23.84 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3479, allocations: 17.72 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3481, allocations: 318.8 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3483, allocations: 51.89 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3485, allocations: 55.88 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.3489, allocations: 108.8 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3489, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004525/0.3493, allocations: 141.5 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3493, allocations: 7.984 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3493, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3494, allocations: 11.88 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3495, allocations: 23.97 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3495, allocations: 0 / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3496, allocations: 19.92 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3497, allocations: 11.94 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.3498, allocations: 121.8 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.3499, allocations: 7.953 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.3499, allocations: 12.31 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3499, allocations: 4 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.3499, allocations: 0 / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3499, allocations: 0 / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3502, allocations: 172.7 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3502, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3504, allocations: 36.41 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3504, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3504, allocations: 3.938 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3504, allocations: 4 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3504, allocations: 0 / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3509, allocations: 247.3 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3509, allocations: 3.953 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3509, allocations: 7.938 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3511, allocations: 15.97 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.3511, allocations: 11.98 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3511, allocations: 0 / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.3512, allocations: 101.5 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3512, allocations: 0 / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002551/0.3515, allocations: 27.89 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008976/0.3524, allocations: 0.767 MB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.3528, allocations: 115.8 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3528, allocations: 7.938 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3531, allocations: 51.95 kB / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3534, allocations: 13.3 kB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.356, allocations: 1.592 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3564, allocations: 0.704 MB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.3565, allocations: 4 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.3565, allocations: 31.42 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.3565, allocations: 0 / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.3873, allocations: 2.374 MB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 1.172 kB / 1.364 GB, free: 12.75 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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: 18.65785629907623]