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.001725/0.001725, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002209/0.002209, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 176.1 MB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002845/1.055, allocations: 1.774 MB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001689/1.055, allocations: 82.25 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/1.055, allocations: 2.656 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/1.055, allocations: 7.875 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/1.056, allocations: 25.92 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/1.056, allocations: 29.11 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/1.056, allocations: 106.1 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/1.056, allocations: 43.16 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/1.056, allocations: 47.11 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/1.056, allocations: 46.69 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/1.056, allocations: 15.62 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/1.056, allocations: 11.38 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/1.056, allocations: 25.64 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/1.056, allocations: 44.03 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/1.056, allocations: 121.5 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.056, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.056, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.056, allocations: 2.844 kB / 1.324 GB, free: 23.66 MB / 1.061 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.0006374/1.057, allocations: 433.2 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.057, allocations: 13.08 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/1.057, allocations: 10.73 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/1.057, allocations: 200.7 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.057, allocations: 6.609 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.057, allocations: 9.562 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/1.058, allocations: 133.4 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.058, allocations: 192 / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.058, allocations: 3.938 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/1.058, allocations: 2.688 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/1.058, allocations: 122.6 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/1.059, allocations: 376.1 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/1.059, allocations: 91.47 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/1.059, allocations: 62.23 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.059, allocations: 0 / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/1.059, allocations: 33.53 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/1.059, allocations: 0 / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0007356/1.06, allocations: 197.5 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/1.06, allocations: 55.34 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/1.06, allocations: 126.1 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/1.06, allocations: 29.7 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/1.06, allocations: 108.9 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/1.06, allocations: 26.09 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/1.06, allocations: 16.22 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/1.06, allocations: 320.8 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.06, allocations: 48.72 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.061, allocations: 52.98 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/1.061, allocations: 107.4 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.061, allocations: 384 / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004403/1.061, allocations: 154.7 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.061, allocations: 5.062 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.061, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.061, allocations: 3.938 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.062, allocations: 28.66 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.062, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.062, allocations: 25.06 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.062, allocations: 2.625 kB / 1.327 GB, free: 21.65 MB / 1.061 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 6.606e-05/1.062, allocations: 112.3 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.062, allocations: 13.73 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/1.062, allocations: 11.56 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.062, allocations: 3.938 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.062, allocations: 2.906 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.062, allocations: 0 / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/1.062, allocations: 201.3 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.062, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.062, allocations: 23.23 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.062, allocations: 2.812 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.062, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.062, allocations: 11.86 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.062, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/1.063, allocations: 242 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/1.063, allocations: 82.94 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.063, allocations: 0.9375 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.063, allocations: 25.16 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/1.063, allocations: 14.02 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.063, allocations: 5.562 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.054e-05/1.063, allocations: 94.58 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 0 / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002403/1.063, allocations: 25.8 kB / 1.328 GB, free: 20.93 MB / 1.061 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.0001278/1.063, allocations: 105.3 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005399/1.064, allocations: 113.4 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.064, allocations: 0 / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/1.064, allocations: 58.16 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.065, allocations: 12.34 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/1.065, allocations: 241 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/1.065, allocations: 0.6959 MB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/1.065, allocations: 11.28 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.065, allocations: 0 / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of Templates: time 0.003708/1.069, allocations: 1.204 MB / 1.33 GB, free: 19.8 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.03858446700906]