Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 106.1 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.634/2.634, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 80.89 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3081, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00305/0.3112, allocations: 1.81 MB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.3114, allocations: 79.69 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.3114, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.3115, allocations: 7.922 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.3116, allocations: 19.86 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.3117, allocations: 23.98 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.3118, allocations: 103.7 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.312, allocations: 53.09 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.3121, allocations: 47.83 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.3121, allocations: 51.77 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3122, allocations: 8 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.3122, allocations: 12 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.3122, allocations: 23.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3123, allocations: 43.73 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3124, allocations: 88.06 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3124, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3124, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3124, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 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.0006974/0.3131, allocations: 427.1 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3132, allocations: 12.62 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3132, allocations: 8.844 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3135, allocations: 208.1 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3135, allocations: 4.375 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3135, allocations: 8.375 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.3139, allocations: 120.1 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3139, allocations: 4.125 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.3139, allocations: 11.92 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3139, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3144, allocations: 119.8 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3149, allocations: 388.4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.3153, allocations: 94.52 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.3155, allocations: 60.92 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3155, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3156, allocations: 34.56 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.3156, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007/0.3163, allocations: 201.3 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3164, allocations: 51.41 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3165, allocations: 131.2 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3165, allocations: 25.7 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.3166, allocations: 111.9 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3166, allocations: 27.64 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3167, allocations: 13.72 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3168, allocations: 322.8 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.317, allocations: 51.94 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.3172, allocations: 51.95 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3176, allocations: 104.8 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3176, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004411/0.3181, allocations: 145.5 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3181, allocations: 6.656 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3181, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3181, allocations: 7.938 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3183, allocations: 23.97 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3183, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3184, allocations: 27.88 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3184, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 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.0001005/0.3185, allocations: 118.5 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3186, allocations: 7.906 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3186, allocations: 8.375 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3186, allocations: 7.938 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3186, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3186, allocations: 4.422 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3188, allocations: 201.6 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3189, allocations: 3.938 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.319, allocations: 35.97 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.319, allocations: 0 / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.319, allocations: 0 / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.319, allocations: 3.938 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.319, allocations: 0 / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.3195, allocations: 239.3 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.3196, allocations: 85.05 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3196, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3198, allocations: 23.91 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3198, allocations: 15.98 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.3199, allocations: 95.27 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3199, allocations: 3.938 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002194/0.3201, allocations: 19.91 kB / 1.07 GB, free: 8.82 MB / 0.8419 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.0001389/0.3203, allocations: 99.25 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3207, allocations: 115.9 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3207, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.321, allocations: 63.88 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3213, allocations: 22.03 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.3218, allocations: 264.1 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3222, allocations: 0.708 MB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.3223, allocations: 15.44 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3223, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.002939/0.3252, allocations: 1.188 MB / 1.072 GB, free: 6.297 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches