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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001164/0.001164, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006092/0.0006093, allocations: 15.98 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8423, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002012/0.8444, allocations: 1.47 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000173/0.8446, allocations: 83.66 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.8447, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.8447, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.8448, allocations: 15.86 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.733e-05/0.8449, allocations: 23.97 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.845, allocations: 107.7 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.8452, allocations: 41.09 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.8453, allocations: 31.86 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.8453, allocations: 43.77 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8454, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-06/0.8454, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.8454, allocations: 15.92 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.8455, allocations: 61.44 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.8456, allocations: 81.8 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8456, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8456, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8456, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.7794 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.0006288/0.8463, allocations: 431 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8463, allocations: 12.03 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.8463, allocations: 16.84 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.8466, allocations: 196.1 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.8466, allocations: 4.375 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.8466, allocations: 12.38 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.847, allocations: 142.1 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.847, allocations: 192 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.8471, allocations: 19.91 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8471, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.8476, allocations: 155.9 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.8481, allocations: 388.4 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.8485, allocations: 106.5 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.8487, allocations: 76.92 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8488, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.8488, allocations: 38.5 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.8488, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000803/0.8496, allocations: 245.4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8497, allocations: 51.41 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.8498, allocations: 127.8 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.8498, allocations: 29.7 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.8499, allocations: 107.9 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.8499, allocations: 19.72 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.8499, allocations: 13.72 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.85, allocations: 322.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.8503, allocations: 63.94 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.8505, allocations: 63.95 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.851, allocations: 144.7 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.851, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000523/0.8515, allocations: 181.5 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8515, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8516, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.8516, allocations: 3.938 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.8517, allocations: 31.97 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8518, allocations: 3.938 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.8519, allocations: 39.91 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.8519, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 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.0001019/0.852, allocations: 118.3 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.8521, allocations: 7.906 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.8521, allocations: 12.38 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8521, allocations: 3.938 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8521, allocations: 4 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8521, allocations: 0 / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.8523, allocations: 201.6 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8523, allocations: 448 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.8525, allocations: 31.97 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8525, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.8525, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8525, allocations: 11.88 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8525, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.8531, allocations: 275.3 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.8532, allocations: 81.02 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.8532, allocations: 4 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.8533, allocations: 31.91 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.8534, allocations: 11.98 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.8534, allocations: 0 / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.8535, allocations: 97.38 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8535, allocations: 0 / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002301/0.8537, allocations: 23.94 kB / 1.029 GB, free: 9.645 MB / 0.7794 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.0001191/0.8538, allocations: 99.25 kB / 1.03 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.8544, allocations: 143.9 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8544, allocations: 0 / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.8546, allocations: 79.88 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.855, allocations: 19.91 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.8555, allocations: 260.8 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.8557, allocations: 0.7004 MB / 1.031 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.8558, allocations: 11.44 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8558, allocations: 0 / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.002752/0.8586, allocations: 1.182 MB / 1.032 GB, free: 7.105 MB / 0.7794 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