Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.001379/0.001379, allocations: 110.4 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.001504/0.001504, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.941 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.352/3.352, 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.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",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.001989/0.001989, allocations: 71.83 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003309/0.3606, allocations: 1.539 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.361, allocations: 147.6 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.361, allocations: 0 / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.361, allocations: 7.938 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.3611, allocations: 19.78 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.54e-05/0.3612, allocations: 11.98 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3613, allocations: 43.86 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3615, allocations: 15.92 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.3615, allocations: 15.92 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.3616, allocations: 23.92 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3616, allocations: 8 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3616, allocations: 4 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3616, allocations: 4 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.3617, allocations: 19.86 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3618, allocations: 39.88 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3618, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3618, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3618, allocations: 0 / 1.355 GB, free: 6.543 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005561/0.3624, allocations: 298.1 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3624, allocations: 8.031 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.3625, allocations: 34.75 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.3625, allocations: 4.891 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3626, allocations: 114.5 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3626, allocations: 384 / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3626, allocations: 4.375 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3629, allocations: 74.2 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3629, allocations: 7.938 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3629, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3629, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.3632, allocations: 59.94 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.3636, allocations: 247.9 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3638, allocations: 54.53 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3639, allocations: 36.92 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.364, allocations: 3.938 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.364, allocations: 30.56 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.364, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000531/0.3645, allocations: 137.5 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3646, allocations: 55.41 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3647, allocations: 109.8 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3647, allocations: 25.7 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.3648, allocations: 96.08 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3648, allocations: 11.89 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3648, allocations: 17.72 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.365, allocations: 310.8 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3651, allocations: 31.95 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3653, allocations: 31.97 kB / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3655, allocations: 72.72 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3655, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.3658, allocations: 97.56 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3658, allocations: 12 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3658, allocations: 336 / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3659, allocations: 0 / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.366, allocations: 11.98 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.366, allocations: 4 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.3661, allocations: 19.92 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.3661, allocations: 4 kB / 1.357 GB, free: 4.359 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 (3): * Single equations (assignments): 3 * 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 9.523e-05/0.3662, allocations: 125.7 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3662, allocations: 7.984 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.3662, allocations: 8 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3662, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3662, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3662, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3664, allocations: 144.7 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3664, allocations: 0 / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.3665, allocations: 15.98 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3665, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3665, allocations: 7.938 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3665, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3665, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3669, allocations: 207.3 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.3669, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3669, allocations: 8 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.367, allocations: 11.98 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3671, allocations: 3.984 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3671, allocations: 8 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.3671, allocations: 83.27 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 0 / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002189/0.3674, allocations: 8 kB / 1.357 GB, free: 3.66 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 (3): * Single equations (assignments): 3 * 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.0007191/0.3681, allocations: 0.7396 MB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3684, allocations: 71.92 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3684, allocations: 0 / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3686, allocations: 39.89 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3689, allocations: 5.875 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.3695, allocations: 173.6 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3698, allocations: 0.6807 MB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.3698, allocations: 0 / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.3699, allocations: 19.42 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3699, allocations: 0 / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.399, allocations: 1.882 MB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.25, allocations: 17.31 kB / 1.361 GB, free: 96 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.25093347299844]