Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008739/0.0008739, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007941/0.0007941, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9178/0.9178, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.72e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002402/0.00242, allocations: 1.526 MB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.002634, allocations: 147.5 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.002667, allocations: 0 / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.002694, allocations: 3.984 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.002738, allocations: 11.88 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.7e-05/0.002815, allocations: 11.98 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.67e-05/0.002891, allocations: 51.78 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.002991, allocations: 4 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.003062, allocations: 31.97 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.0031, allocations: 23.91 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.003119, allocations: 0 / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-06/0.003125, allocations: 4 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.003144, allocations: 8 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.003169, allocations: 11.98 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.003249, allocations: 35.83 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.003251, allocations: 4 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003252, allocations: 3.938 kB / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003256, allocations: 0 / 0.9524 GB, free: 1.582 MB / 0.9011 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.0003514/0.003607, allocations: 294.2 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003645, allocations: 8.031 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.003673, allocations: 30.75 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.003694, allocations: 8.891 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/0.003785, allocations: 117.7 kB / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.003796, allocations: 384 / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.003804, allocations: 384 / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.003961, allocations: 74.2 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003968, allocations: 4.188 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.003976, allocations: 384 / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003982, allocations: 4.125 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.004156, allocations: 63.92 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.004459, allocations: 232 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.00458, allocations: 59.14 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.004655, allocations: 40.86 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.004668, allocations: 3.938 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.004689, allocations: 30.56 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.00469, allocations: 0 / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.000308/0.004998, allocations: 133.7 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.005032, allocations: 55.41 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.005098, allocations: 105.8 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.00511, allocations: 29.7 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.005152, allocations: 88.09 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.005169, allocations: 7.953 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005195, allocations: 17.7 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.005286, allocations: 314.8 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.005357, allocations: 35.97 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.005419, allocations: 35.94 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.00555, allocations: 72.72 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005551, allocations: 0 / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001628/0.005714, allocations: 109.5 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005727, allocations: 4 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005731, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.005743, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.005813, allocations: 15.98 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.005817, allocations: 0 / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.005853, allocations: 15.97 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.00586, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 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 5.651e-05/0.005916, allocations: 115.8 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.005928, allocations: 7.938 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.005947, allocations: 7.938 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005949, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.005953, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005956, allocations: 0 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.006062, allocations: 132.8 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006063, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.006104, allocations: 23.84 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006106, allocations: 8 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.006111, allocations: 0 / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.006112, allocations: 0 / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006112, allocations: 3.938 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.006293, allocations: 191.4 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.006301, allocations: 11.92 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-06/0.006309, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.006357, allocations: 15.98 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.006388, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.006391, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.006422, allocations: 91.58 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006422, allocations: 0 / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001349/0.006557, allocations: 8 kB / 0.9549 GB, free: 14.73 MB / 0.9167 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.0003522/0.006909, allocations: 0.7357 MB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.007085, allocations: 63.92 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007087, allocations: 0 / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.007156, allocations: 39.91 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.007353, allocations: 20.14 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.007678, allocations: 158.8 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.007717, allocations: 67.28 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.007744, allocations: 7.984 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.007782, allocations: 16.48 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007783, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02178, allocations: 2.485 MB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.821, allocations: 10.27 kB / 0.9584 GB, free: 11.2 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.903754426166415]