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.006573/0.006573, allocations: 104.4 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.001834/0.001834, 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.44 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002976/0.2795, allocations: 1.587 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.2797, allocations: 55.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.2797, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.2798, allocations: 7.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.2799, allocations: 11.86 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.28, allocations: 19.97 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2801, allocations: 71.77 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2802, allocations: 12.17 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.2803, allocations: 35.89 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.2804, allocations: 35.84 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2804, allocations: 8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.2805, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.2805, allocations: 19.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.2805, allocations: 31.86 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2807, allocations: 63.67 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2807, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2807, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2807, 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.0006761/0.2814, allocations: 395.3 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2814, allocations: 8.031 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.2815, allocations: 8.844 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2816, allocations: 184.1 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2817, allocations: 8.375 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2817, allocations: 8.125 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2821, allocations: 105.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2821, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2821, allocations: 3.938 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2821, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.2826, allocations: 99.89 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.2831, allocations: 296.9 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.2834, allocations: 94.44 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2837, allocations: 68.92 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2837, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2837, allocations: 30.56 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2838, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007907/0.2846, allocations: 197.4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2846, allocations: 51.41 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2847, allocations: 117.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2847, allocations: 25.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.2848, allocations: 99.97 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2848, allocations: 11.81 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2849, allocations: 21.72 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.285, allocations: 322.8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.2853, allocations: 51.94 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2855, allocations: 47.95 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2859, allocations: 108.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2859, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004783/0.2864, allocations: 145.4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2864, allocations: 8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2864, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2864, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2866, allocations: 23.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2866, allocations: 4.375 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2867, allocations: 27.91 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2868, allocations: 3.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 0.0001022/0.2869, allocations: 113.8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2869, allocations: 7.906 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.2869, allocations: 12.38 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.287, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.287, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.287, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2872, allocations: 189.5 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2872, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.2874, allocations: 31.91 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2874, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2874, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2874, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2874, allocations: 3.938 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.2879, allocations: 239.3 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.288, allocations: 85.02 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.288, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2882, allocations: 15.97 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.2882, allocations: 11.98 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2883, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.2883, allocations: 103.6 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2883, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002393/0.2886, allocations: 12 kB / 1.093 GB, free: 11.79 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.0001631/0.2888, allocations: 107.2 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2893, allocations: 103.9 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2893, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.2895, allocations: 59.94 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.2899, allocations: 11.98 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.0004878/0.2904, allocations: 173.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2907, allocations: 0.6846 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.2907, allocations: 3.984 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.2908, allocations: 15.38 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2908, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.00349/0.2943, allocations: 1.067 MB / 1.095 GB, free: 9.516 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