Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001885/0.001885, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.002321/0.002321, allocations: 157.6 kB / 22.75 MB, free: 1.68 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 1.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.453 MB / 186.7 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.376/3.376, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.433e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003758/0.003793, allocations: 1.712 MB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.005698, allocations: 0.7418 MB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.005771, allocations: 4 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.005822, allocations: 15.8 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.00593, allocations: 19.8 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.00644, allocations: 103.6 kB / 0.8802 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.006628, allocations: 115.5 kB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.006758, allocations: 25.89 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.006897, allocations: 59.88 kB / 0.8804 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.006982, allocations: 37.23 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.00701, allocations: 12 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.00737, allocations: 127.7 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.007398, allocations: 17.45 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.007464, allocations: 39.91 kB / 0.8806 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.007795, allocations: 175.4 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.0078, allocations: 0 / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/0.007802, allocations: 4 kB / 0.8808 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.007809, allocations: 3.938 kB / 0.8808 GB, free: 3.277 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007838/0.008593, allocations: 369.6 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.00865, allocations: 16.02 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.008728, allocations: 16.89 kB / 0.8811 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.008884, allocations: 124.9 kB / 0.8813 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.008903, allocations: 8.375 kB / 0.8813 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.008924, allocations: 8.375 kB / 0.8813 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.009304, allocations: 130 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.009313, allocations: 192 / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.009328, allocations: 384 / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.009338, allocations: 7.938 kB / 0.8814 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.009731, allocations: 111.9 kB / 0.8815 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.01037, allocations: 312.2 kB / 0.8818 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.01078, allocations: 102.6 kB / 0.8819 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.01099, allocations: 60.75 kB / 0.882 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.01126, allocations: 39.97 kB / 0.882 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.0113, allocations: 42.56 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.0113, allocations: 0 / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000703/0.012, allocations: 185.7 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.01205, allocations: 51.41 kB / 0.8823 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.01219, allocations: 133.8 kB / 0.8824 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.01221, allocations: 29.7 kB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.01231, allocations: 108.2 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.01236, allocations: 35.72 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.01241, allocations: 21.72 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.01261, allocations: 318.8 kB / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.01279, allocations: 43.97 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01297, allocations: 43.95 kB / 0.883 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.01332, allocations: 108.7 kB / 0.8831 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01333, allocations: 0 / 0.8831 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004108/0.01374, allocations: 137.5 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01376, allocations: 10.33 kB / 0.8832 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01376, allocations: 0 / 0.8832 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.01378, allocations: 8 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.01393, allocations: 19.98 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01394, allocations: 0 / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01405, allocations: 27.81 kB / 0.8833 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01406, allocations: 4 kB / 0.8833 GB, free: 0.5234 MB / 0.8386 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 (9): * Single equations (assignments): 9 * 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.0001223/0.01418, allocations: 117.8 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01423, allocations: 15.94 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.01473, allocations: 154 kB / 0.8835 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.01473, allocations: 4 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01474, allocations: 0 / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.01475, allocations: 3.938 kB / 0.8836 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01498, allocations: 137.3 kB / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01498, allocations: 0 / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01512, allocations: 31.91 kB / 0.8837 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01513, allocations: 4 kB / 0.8837 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01514, allocations: 3.938 kB / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01514, allocations: 0 / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01514, allocations: 0 / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.01567, allocations: 243.3 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.01571, allocations: 11.95 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01573, allocations: 3.984 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01587, allocations: 15.98 kB / 0.884 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.01593, allocations: 7.984 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.01594, allocations: 4 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.01603, allocations: 99.27 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01603, allocations: 0 / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002922/0.01632, allocations: 35.83 kB / 0.8841 GB, free: 15.58 MB / 0.8542 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 (9): * Single equations (assignments): 9 * 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.0002465/0.01657, allocations: 118.1 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.01702, allocations: 107.8 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.01702, allocations: 0 / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01721, allocations: 52.66 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.01765, allocations: 32.78 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.01823, allocations: 228.6 kB / 0.8846 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01834, allocations: 88.31 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.0184, allocations: 11.92 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.01844, allocations: 16.5 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01844, allocations: 0 / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.005575/0.02402, allocations: 1.448 MB / 0.8862 GB, free: 13.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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: 8.965474773896858]