Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001365/0.001365, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001276/0.001276, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9268/0.9268, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.271e-05, allocations: 12.83 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001879/0.001902, allocations: 1.742 MB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.002043, allocations: 87.66 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.002089, allocations: 0 / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.002123, allocations: 7.875 kB / 0.984 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.002173, allocations: 23.78 kB / 0.984 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.596e-05/0.002259, allocations: 35.97 kB / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.00236, allocations: 107.6 kB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.002491, allocations: 41.14 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.002558, allocations: 59.89 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.002605, allocations: 39.88 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.00263, allocations: 12 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.002639, allocations: 8 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.002662, allocations: 27.91 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.002692, allocations: 27.92 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.002816, allocations: 123.6 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002818, allocations: 7.938 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002819, allocations: 0 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.002823, allocations: 0 / 0.9845 GB, free: 15.68 MB / 0.948 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.0004337/0.003257, allocations: 353.8 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.003291, allocations: 8.031 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.00332, allocations: 12.89 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.003463, allocations: 141.5 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003474, allocations: 8.375 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.003487, allocations: 12.38 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.003702, allocations: 124.2 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.003708, allocations: 192 / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.003719, allocations: 8.312 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003724, allocations: 4.375 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.003965, allocations: 123.8 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.004366, allocations: 300.2 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.004581, allocations: 90.45 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.00469, allocations: 60.92 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.004702, allocations: 4 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.004717, allocations: 30.56 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.004719, allocations: 0 / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0003895/0.005108, allocations: 193.7 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.005137, allocations: 55.34 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.005206, allocations: 132.8 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005217, allocations: 25.7 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.005261, allocations: 104 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.005281, allocations: 19.8 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.00531, allocations: 17.72 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.005384, allocations: 326.8 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.005484, allocations: 55.94 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.005577, allocations: 43.95 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.005768, allocations: 108.8 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00577, allocations: 0 / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002286/0.005998, allocations: 149.9 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006009, allocations: 6.5 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006013, allocations: 4 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006023, allocations: 3.984 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.006097, allocations: 35.91 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006101, allocations: 0 / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.00615, allocations: 15.97 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006158, allocations: 7.938 kB / 0.987 GB, free: 12.98 MB / 0.948 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 5.855e-05/0.006216, allocations: 117.8 kB / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.00623, allocations: 11.95 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.006249, allocations: 8.438 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.00625, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.006255, allocations: 7.984 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006258, allocations: 0 / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.006363, allocations: 137.2 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.006364, allocations: 0 / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.006422, allocations: 23.97 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.006424, allocations: 4 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006431, allocations: 0 / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006432, allocations: 7.938 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006433, allocations: 0 / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.006681, allocations: 247.3 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.006687, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006698, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.006761, allocations: 23.97 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.006805, allocations: 11.98 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006808, allocations: 0 / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.006849, allocations: 99.27 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006849, allocations: 0 / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001468/0.006996, allocations: 23.89 kB / 0.9877 GB, free: 12.21 MB / 0.948 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 6.657e-05/0.007063, allocations: 91.25 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.007311, allocations: 123.8 kB / 0.9879 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007312, allocations: 0 / 0.9879 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.007415, allocations: 51.95 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.007617, allocations: 20.3 kB / 0.988 GB, free: 11.92 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.007937, allocations: 222.9 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.007984, allocations: 80.33 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.00802, allocations: 12.5 kB / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.008021, allocations: 0 / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of Templates: time 0.001755/0.009776, allocations: 1.258 MB / 0.9895 GB, free: 10.32 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.716092547401786]