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.001158/0.001158, allocations: 109.5 kB / 16.41 MB, free: 6.492 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.001039/0.001039, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.662/2.662, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 60.12 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.8864, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003117/0.8895, allocations: 1.761 MB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.8898, allocations: 87.73 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.8898, allocations: 0 / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.8899, allocations: 11.81 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.89, allocations: 19.84 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.8901, allocations: 23.97 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.8903, allocations: 115.6 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.8905, allocations: 45.11 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.8905, allocations: 43.84 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.8906, allocations: 55.75 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.8907, allocations: 16 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.8907, allocations: 8 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.8907, allocations: 23.92 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.8908, allocations: 51.72 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.891, allocations: 108.1 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.891, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/0.891, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.891, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 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.0006993/0.8917, allocations: 438.9 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8917, allocations: 15.95 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.8918, allocations: 12.89 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.892, allocations: 196.2 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.892, allocations: 4.375 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.8921, allocations: 12.38 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.8924, allocations: 118.2 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8925, allocations: 8.125 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.8925, allocations: 7.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8925, allocations: 0 / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.893, allocations: 119.9 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.8935, allocations: 384.4 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.8939, allocations: 90.59 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.8941, allocations: 60.92 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.8941, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.8941, allocations: 34.5 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.8942, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0007692/0.8949, allocations: 197.6 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.895, allocations: 51.41 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.8951, allocations: 131.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8951, allocations: 25.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.8952, allocations: 111.9 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.8952, allocations: 27.8 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.8953, allocations: 17.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8954, allocations: 314.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.8956, allocations: 51.94 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.8959, allocations: 55.94 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.8963, allocations: 108.7 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8963, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000479/0.8968, allocations: 141.5 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.8968, allocations: 8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8968, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8968, allocations: 3.938 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.897, allocations: 23.97 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.897, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.8971, allocations: 23.97 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.8972, allocations: 3.938 kB / 1.172 GB, free: 14.48 MB / 0.9044 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.458e-05/0.8973, allocations: 121.8 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8973, allocations: 7.953 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.8973, allocations: 16.36 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8973, allocations: 3.938 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8974, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8974, allocations: 3.984 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8976, allocations: 201.6 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.8976, allocations: 3.984 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.8977, allocations: 28.41 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8977, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8978, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8978, allocations: 7.938 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8978, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.8983, allocations: 239.4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.8984, allocations: 85.05 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.8984, allocations: 0 / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8985, allocations: 27.84 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.8986, allocations: 12 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.8986, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.8987, allocations: 97.94 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8987, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002473/0.8989, allocations: 27.89 kB / 1.173 GB, free: 13.52 MB / 0.9044 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.0001409/0.8991, allocations: 99.23 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.8996, allocations: 111.9 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8996, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.8999, allocations: 63.88 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.9002, allocations: 8 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.9007, allocations: 228.1 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.901, allocations: 0.7027 MB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.9011, allocations: 11.44 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9011, allocations: 0 / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.002914/0.904, allocations: 1.201 MB / 1.176 GB, free: 11.04 MB / 0.9044 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=480 -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/jenkins1/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