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.001529/0.001529, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001744/0.001744, allocations: 161 kB / 22.45 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.95/2.95, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.523e-06/1.523e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.347e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003547/0.003581, allocations: 1.749 MB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000247/0.003828, allocations: 75.73 kB / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.003897, allocations: 7.938 kB / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.881e-05/0.003946, allocations: 11.81 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.004024, allocations: 19.78 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.004155, allocations: 27.97 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.004325, allocations: 115.6 kB / 0.9834 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.004502, allocations: 41.14 kB / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004614, allocations: 59.89 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.004704, allocations: 39.88 kB / 0.9835 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.004744, allocations: 12 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.004763, allocations: 12 kB / 0.9836 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.004799, allocations: 19.92 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.00486, allocations: 35.91 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.005079, allocations: 123.5 kB / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005082, allocations: 0 / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005083, allocations: 0 / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.005088, allocations: 0 / 0.9837 GB, free: 9.562 MB / 0.9356 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.000796/0.005884, allocations: 357.8 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.005937, allocations: 12.03 kB / 0.9841 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.005996, allocations: 8.891 kB / 0.9841 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.006245, allocations: 141.6 kB / 0.9842 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.006264, allocations: 8.375 kB / 0.9842 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.006284, allocations: 4.375 kB / 0.9843 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.006689, allocations: 130.1 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006699, allocations: 192 / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.006715, allocations: 4.375 kB / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006722, allocations: 4.375 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.00719, allocations: 123.8 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.007702, allocations: 304.2 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.008064, allocations: 82.52 kB / 0.9849 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.008297, allocations: 64.86 kB / 0.9849 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.008312, allocations: 4 kB / 0.9849 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.008339, allocations: 30.56 kB / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.00834, allocations: 0 / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0007947/0.009134, allocations: 197.8 kB / 0.9852 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.009196, allocations: 55.41 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.009331, allocations: 125.8 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.009356, allocations: 25.7 kB / 0.9854 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.009442, allocations: 108 kB / 0.9855 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.009474, allocations: 15.8 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.009522, allocations: 17.72 kB / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.009688, allocations: 326.8 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.009918, allocations: 55.89 kB / 0.9859 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.01012, allocations: 51.88 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.01055, allocations: 104.8 kB / 0.986 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01055, allocations: 4 kB / 0.986 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004925/0.01105, allocations: 149.5 kB / 0.9861 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01106, allocations: 4 kB / 0.9862 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01107, allocations: 0 / 0.9862 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01108, allocations: 4 kB / 0.9862 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.01124, allocations: 31.91 kB / 0.9862 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01125, allocations: 0 / 0.9862 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01137, allocations: 19.97 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.01138, allocations: 3.938 kB / 0.9862 GB, free: 6.859 MB / 0.9356 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 0.0001098/0.01149, allocations: 117.8 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.01152, allocations: 7.953 kB / 0.9863 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.01155, allocations: 16.42 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01155, allocations: 0 / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01156, allocations: 4 kB / 0.9863 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01156, allocations: 0 / 0.9863 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01174, allocations: 137.2 kB / 0.9865 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01174, allocations: 3.984 kB / 0.9865 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.01189, allocations: 27.97 kB / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.01189, allocations: 0 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.0119, allocations: 0 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01191, allocations: 256 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01191, allocations: 4 kB / 0.9865 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.01246, allocations: 251.3 kB / 0.9868 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.01247, allocations: 4 kB / 0.9868 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01249, allocations: 0 / 0.9868 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.01263, allocations: 15.97 kB / 0.9868 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.0127, allocations: 8 kB / 0.9868 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.01271, allocations: 4 kB / 0.9868 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.544e-05/0.01278, allocations: 106.1 kB / 0.9869 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01278, allocations: 0 / 0.9869 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00023/0.01301, allocations: 23.89 kB / 0.9869 GB, free: 6.09 MB / 0.9356 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 0.0001237/0.01314, allocations: 95.25 kB / 0.987 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.01365, allocations: 115.8 kB / 0.9871 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01366, allocations: 4 kB / 0.9871 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.01389, allocations: 55.94 kB / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.0142, allocations: 15.92 kB / 0.9872 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.01466, allocations: 189.3 kB / 0.9874 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.778e-05/0.01475, allocations: 88.25 kB / 0.9874 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01479, allocations: 4 kB / 0.9874 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.01484, allocations: 12.5 kB / 0.9875 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.01484, allocations: 3.938 kB / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of Templates: time 0.004325/0.01917, allocations: 1.141 MB / 0.9886 GB, free: 4.352 MB / 0.9356 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: 8.706669475883245]