Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002078/0.002078, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002652/0.002652, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 0.8688 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8167, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003716/0.8205, allocations: 1.809 MB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002227/0.8207, allocations: 87.73 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.8208, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/0.8209, allocations: 7.922 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.821, allocations: 11.88 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.8211, allocations: 27.97 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.8213, allocations: 107.7 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.8215, allocations: 49.11 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.8216, allocations: 43.84 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.8217, allocations: 47.77 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.8217, allocations: 12 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.8217, allocations: 12 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.8218, allocations: 23.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.8218, allocations: 47.73 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.822, allocations: 117.5 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.822, allocations: 3.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.723e-06/0.822, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.822, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 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.0008034/0.8228, allocations: 436.3 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8229, allocations: 8.031 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.823, allocations: 12.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.8232, allocations: 200.2 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.8233, allocations: 8.375 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.8233, allocations: 8.375 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.8237, allocations: 130.1 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8237, allocations: 4.188 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.8237, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8238, allocations: 4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.8242, allocations: 119.9 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.8248, allocations: 384.4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.8252, allocations: 86.52 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.8254, allocations: 68.86 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.8255, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.8255, allocations: 34.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.8255, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007588/0.8263, allocations: 193.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.8263, allocations: 55.41 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.8265, allocations: 127.9 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.8265, allocations: 25.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.8266, allocations: 111.9 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.8266, allocations: 11.81 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.8267, allocations: 21.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8269, allocations: 318.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.8271, allocations: 55.88 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.8273, allocations: 51.94 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.8277, allocations: 104.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8277, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000464/0.8282, allocations: 137.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.8282, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.8282, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8282, allocations: 3.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.8284, allocations: 35.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8284, allocations: 7.922 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.8285, allocations: 20.34 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.8286, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 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.0001289/0.8287, allocations: 113.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.8287, allocations: 7.906 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.8288, allocations: 16.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8288, allocations: 7.938 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8288, allocations: 8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8288, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.8291, allocations: 201.6 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8291, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.8292, allocations: 23.97 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8292, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.8292, allocations: 11.97 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.8292, allocations: 3.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.8293, allocations: 4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.8298, allocations: 235.3 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.8299, allocations: 92.94 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.8299, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.83, allocations: 19.92 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8301, allocations: 7.984 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.8301, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.8302, allocations: 95.27 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8302, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003546/0.8306, allocations: 19.84 kB / 1.023 GB, free: 12.4 MB / 0.7794 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.0001648/0.8307, allocations: 107.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.8312, allocations: 119.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8312, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.8314, allocations: 59.94 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.8319, allocations: 15.33 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.8324, allocations: 230.7 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.8328, allocations: 0.7001 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.8329, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.8329, allocations: 11.44 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8329, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.003959/0.8369, allocations: 0.9202 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches