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.002352/0.002352, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002582/0.002582, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.64/1.64, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.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.179/3.179, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.744e-05, allocations: 9.875 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003465/0.003503, allocations: 1.531 MB / 1.002 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.003869, allocations: 139.6 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.003924, allocations: 0 / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.003957, allocations: 3.938 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.004034, allocations: 15.81 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.00414, allocations: 11.98 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.004264, allocations: 47.84 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.004397, allocations: 15.98 kB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004527, allocations: 27.91 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.004582, allocations: 11.98 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.004609, allocations: 4 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.00462, allocations: 4 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.004641, allocations: 4 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.004684, allocations: 19.92 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004821, allocations: 39.92 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004824, allocations: 0 / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004825, allocations: 0 / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.004831, allocations: 0 / 1.002 GB, free: 5.395 MB / 0.9512 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.0007104/0.005541, allocations: 294.2 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.005606, allocations: 11.97 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.005652, allocations: 4.875 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005788, allocations: 109.8 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.00581, allocations: 8.375 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.005821, allocations: 384 / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.006113, allocations: 70.2 kB / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006123, allocations: 4.188 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.006137, allocations: 4.375 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006144, allocations: 384 / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.006459, allocations: 71.8 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.006915, allocations: 208.5 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.007154, allocations: 58.53 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.007313, allocations: 32.92 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.00733, allocations: 0 / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.007365, allocations: 38.56 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.007366, allocations: 0 / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006271/0.007993, allocations: 141.4 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.008045, allocations: 51.41 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.008152, allocations: 105.8 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.008171, allocations: 29.7 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.008239, allocations: 84.14 kB / 1.003 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.008262, allocations: 3.953 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.008308, allocations: 17.72 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.00846, allocations: 318.8 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.008615, allocations: 31.97 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.008761, allocations: 31.95 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.009051, allocations: 69.06 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.009055, allocations: 4 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003578/0.009413, allocations: 109.5 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.009435, allocations: 7.938 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009441, allocations: 0 / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.009461, allocations: 4 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.009599, allocations: 15.98 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.009605, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.009688, allocations: 11.98 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.009696, allocations: 4 kB / 1.004 GB, free: 3.301 MB / 0.9512 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 0.0001055/0.009801, allocations: 118.3 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.009833, allocations: 3.953 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.009869, allocations: 15.94 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009871, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.009877, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009881, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01005, allocations: 109.3 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01006, allocations: 0 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01016, allocations: 19.98 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01017, allocations: 7.938 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01018, allocations: 3.984 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01019, allocations: 3.938 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01019, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.01065, allocations: 183.5 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01066, allocations: 7.953 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.01068, allocations: 3.938 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01079, allocations: 19.92 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.01085, allocations: 7.984 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.01085, allocations: 0 / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.01092, allocations: 91.27 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01092, allocations: 0 / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000224/0.01114, allocations: 8 kB / 1.004 GB, free: 2.648 MB / 0.9512 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.0001537/0.0113, allocations: 99.19 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.01168, allocations: 71.86 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01168, allocations: 0 / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01184, allocations: 35.95 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.0122, allocations: 8 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.01262, allocations: 144.7 kB / 1.005 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.0127, allocations: 67.28 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01274, allocations: 0 / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.01278, allocations: 16.5 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.01278, allocations: 0 / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.004164/0.01695, allocations: 0.8712 MB / 1.006 GB, free: 1.305 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.542158886790276]