Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001686/0.001686, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.00198/0.00198, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.34 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3769, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003322/0.3803, allocations: 1.768 MB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.3805, allocations: 83.67 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.3806, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.3807, allocations: 7.875 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.3808, allocations: 27.78 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.3809, allocations: 23.97 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.381, allocations: 111.7 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3813, allocations: 53.14 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.3813, allocations: 39.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.3814, allocations: 55.7 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.3814, allocations: 12 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.3815, allocations: 8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.3815, allocations: 23.92 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.3816, allocations: 47.73 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3817, allocations: 115.5 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3818, allocations: 8 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3818, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3818, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 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.000763/0.3826, allocations: 423.1 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3826, allocations: 8.031 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3826, allocations: 12.84 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3829, allocations: 196.2 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3829, allocations: 12.36 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3829, allocations: 8.375 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3833, allocations: 126.1 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3833, allocations: 4.172 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3834, allocations: 3.938 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3834, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.3838, allocations: 127.9 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.3843, allocations: 380.3 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.3847, allocations: 94.52 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3849, allocations: 64.86 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.385, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.385, allocations: 34.56 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.385, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006926/0.3857, allocations: 197.4 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3857, allocations: 51.41 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3859, allocations: 128.9 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3859, allocations: 25.7 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.386, allocations: 107.9 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.386, allocations: 23.66 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.3861, allocations: 25.7 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3862, allocations: 314.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.3864, allocations: 55.88 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3866, allocations: 52.31 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3869, allocations: 108.8 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3869, allocations: 3.984 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003919/0.3873, allocations: 133.6 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3874, allocations: 10.97 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3874, allocations: 4 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3874, allocations: 7.875 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3875, allocations: 27.91 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3876, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3877, allocations: 27.88 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3877, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 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.0001051/0.3878, allocations: 121.8 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.3878, allocations: 4 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.3879, allocations: 16.36 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3879, allocations: 3.938 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3879, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3879, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3881, allocations: 201.5 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3881, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.3883, allocations: 27.97 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3883, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3883, allocations: 7.922 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3883, allocations: 3.938 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3883, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.3888, allocations: 247.4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.3888, allocations: 85.03 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3889, allocations: 4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.389, allocations: 15.92 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3891, allocations: 11.98 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3891, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.3891, allocations: 99.27 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 0 / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002241/0.3894, allocations: 23.91 kB / 1.033 GB, free: 11.76 MB / 0.8106 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.0001503/0.3895, allocations: 99.23 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.39, allocations: 111.8 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.39, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3902, allocations: 59.94 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3905, allocations: 9.719 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.391, allocations: 206.5 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3912, allocations: 0.7002 MB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.3913, allocations: 4 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3913, allocations: 15.38 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of SimCode: time 6.22e-07/0.3913, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.0039/0.3952, allocations: 1.078 MB / 1.035 GB, free: 9.434 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches