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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001579/0.001579, allocations: 102.7 kB / 16.4 MB, free: 6.461 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.001847/0.001847, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 64.11 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8779, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003239/0.8811, allocations: 1.755 MB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.8814, allocations: 83.69 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.8815, allocations: 0 / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.8815, allocations: 11.86 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.8816, allocations: 19.8 kB / 1.223 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.8818, allocations: 31.95 kB / 1.223 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.8819, allocations: 107.7 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.8821, allocations: 52.34 kB / 1.223 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.8822, allocations: 35.86 kB / 1.223 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.8822, allocations: 59.73 kB / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.8823, allocations: 12 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.8823, allocations: 8 kB / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.8823, allocations: 27.92 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.8824, allocations: 51.73 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.8826, allocations: 115.2 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8826, allocations: 4 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8826, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.8826, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9512 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.0007295/0.8833, allocations: 437 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8834, allocations: 8.031 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.8835, allocations: 16.75 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.8837, allocations: 192.2 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.8837, allocations: 12.31 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.8837, allocations: 12.31 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.8841, allocations: 124.2 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.8842, allocations: 4.188 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8842, allocations: 7.938 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8842, allocations: 0 / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.8846, allocations: 119.9 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.8852, allocations: 376.4 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.8855, allocations: 98.44 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.8858, allocations: 56.94 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.8858, allocations: 4 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.8858, allocations: 30.56 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.8858, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000742/0.8866, allocations: 201.4 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.8866, allocations: 51.41 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8867, allocations: 124.2 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.8868, allocations: 33.64 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.8868, allocations: 108 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.8869, allocations: 23.64 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.8869, allocations: 21.72 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.887, allocations: 318.8 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.8873, allocations: 47.95 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.8875, allocations: 47.94 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.8879, allocations: 109.1 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8879, allocations: 0 / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004614/0.8883, allocations: 145.5 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8884, allocations: 11.98 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8884, allocations: 0 / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8884, allocations: 3.938 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.8886, allocations: 31.91 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8886, allocations: 0 / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.8887, allocations: 15.98 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.8887, allocations: 7.938 kB / 1.226 GB, free: 12.99 MB / 0.9512 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 9.348e-05/0.8888, allocations: 118.4 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.8888, allocations: 7.906 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.8889, allocations: 20.36 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8889, allocations: 3.938 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8889, allocations: 0 / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8889, allocations: 0 / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.8891, allocations: 197.6 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8891, allocations: 0 / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.8893, allocations: 31.97 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8893, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8893, allocations: 3.938 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8893, allocations: 3.938 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8893, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.8899, allocations: 247.3 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.8899, allocations: 81.02 kB / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.8899, allocations: 0 / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.8901, allocations: 27.91 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.8902, allocations: 7.984 kB / 1.227 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.8902, allocations: 0 / 1.227 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.8902, allocations: 106.4 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8902, allocations: 0 / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002497/0.8905, allocations: 19.94 kB / 1.227 GB, free: 12.03 MB / 0.9512 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.0001328/0.8906, allocations: 99.25 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.8911, allocations: 123.9 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8911, allocations: 0 / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.8914, allocations: 55.95 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.8917, allocations: 11.98 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.8922, allocations: 232.1 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.8925, allocations: 0.6924 MB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.8926, allocations: 11.44 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8926, allocations: 0 / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.002819/0.8954, allocations: 1.209 MB / 1.229 GB, free: 9.551 MB / 0.9512 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 -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