Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00856/0.00856, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001923/0.001923, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 69.27 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2562, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002408/0.2586, allocations: 1.59 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.2588, allocations: 55.81 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.2588, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2588, allocations: 3.938 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.2589, allocations: 15.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.354e-05/0.259, allocations: 23.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.233e-05/0.2591, allocations: 71.77 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2592, allocations: 20.17 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.2592, allocations: 27.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.2593, allocations: 39.83 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2593, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2593, allocations: 8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.2594, allocations: 15.92 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2594, allocations: 31.86 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.2595, allocations: 59.73 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2595, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2595, allocations: 11.94 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2595, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005324/0.2601, allocations: 387.3 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2601, allocations: 8.031 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.2601, allocations: 8.844 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2602, allocations: 180.2 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2603, allocations: 4.375 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.2603, allocations: 16.06 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.2606, allocations: 93.56 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2606, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2606, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2606, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.261, allocations: 99.89 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.2614, allocations: 300.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2617, allocations: 98.48 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2619, allocations: 60.92 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.262, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.262, allocations: 38.56 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.262, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006521/0.2626, allocations: 189.4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2627, allocations: 63.34 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.2628, allocations: 109.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2628, allocations: 33.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2628, allocations: 99.97 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2629, allocations: 15.81 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2629, allocations: 13.72 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.263, allocations: 322.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.2632, allocations: 51.94 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2634, allocations: 47.95 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.2637, allocations: 104.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2638, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004019/0.2642, allocations: 145.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2642, allocations: 10.12 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2642, allocations: 3.984 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2642, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2644, allocations: 35.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.2644, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2645, allocations: 19.91 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2645, allocations: 7.938 kB / 1.092 GB, free: 12.71 MB / 0.8575 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 8.309e-05/0.2646, allocations: 109.8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2646, allocations: 11.84 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.2646, allocations: 12.38 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2646, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2646, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2647, allocations: 3.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2648, allocations: 181.6 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2648, allocations: 448 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.265, allocations: 27.97 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.265, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.265, allocations: 4 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.265, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.265, allocations: 3.938 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.2655, allocations: 247.3 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2655, allocations: 85.02 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2656, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2657, allocations: 27.97 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2658, allocations: 7.922 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2658, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2658, allocations: 99.64 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2658, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002245/0.266, allocations: 12 kB / 1.093 GB, free: 11.8 MB / 0.8575 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.0001197/0.2662, allocations: 99.25 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.2666, allocations: 119.8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2666, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.2668, allocations: 51.95 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2671, allocations: 22.19 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2675, allocations: 169.8 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2678, allocations: 0.6885 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2678, allocations: 8 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.2679, allocations: 7.438 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2679, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.003047/0.2709, allocations: 1.05 MB / 1.095 GB, free: 9.539 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches