Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 174.9 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009087/0.0009085, allocations: 90.66 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 10.31 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4032, allocations: 132.6 MB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4035, allocations: 87.95 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008929/0.4124, allocations: 3.209 MB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4125, allocations: 3.938 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4125, allocations: 4 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005119/0.413, allocations: 390.9 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4131, allocations: 8.031 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008496/0.4139, allocations: 95.8 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4141, allocations: 179.1 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.4141, allocations: 8 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4141, allocations: 4 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.4147, allocations: 170 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4147, allocations: 0 / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4148, allocations: 0 / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4148, allocations: 11.94 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.4156, allocations: 175.8 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4167, allocations: 468.2 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.4174, allocations: 162.4 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4174, allocations: 4.125 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4175, allocations: 30.56 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4175, allocations: 0 / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001277/0.4188, allocations: 273.4 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4188, allocations: 59.41 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.419, allocations: 150.7 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4191, allocations: 25.7 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.4191, allocations: 96.05 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.4192, allocations: 23.73 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.4192, allocations: 0 / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4193, allocations: 330.7 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.4197, allocations: 75.94 kB / 1.035 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.4201, allocations: 83.92 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.4204, allocations: 79.92 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4204, allocations: 0 / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008046/0.4213, allocations: 213.4 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.4213, allocations: 93 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4213, allocations: 0 / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4214, allocations: 0 / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4217, allocations: 47.94 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4217, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4219, allocations: 39.75 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.422, allocations: 15.98 kB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.422, allocations: 4 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001951/0.4222, allocations: 60.2 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.4222, allocations: 0 / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.4222, allocations: 3.953 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.4223, allocations: 23.98 kB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.4223, allocations: 4.062 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.4224, allocations: 15.89 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.4224, allocations: 0 / 1.036 GB, free: 4.262 MB / 0.6823 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.4225, allocations: 195.1 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4226, allocations: 7.906 kB / 1.036 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.4226, allocations: 24.28 kB / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4226, allocations: 3.953 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4227, allocations: 4 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4227, allocations: 0 / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4238, allocations: 0.4883 MB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4238, allocations: 3.938 kB / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.4241, allocations: 43.97 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4241, allocations: 0 / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4241, allocations: 7.984 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4241, allocations: 256 / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4241, allocations: 0 / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.425, allocations: 348.3 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.4251, allocations: 96.91 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.4251, allocations: 4 kB / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.4254, allocations: 31.97 kB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4254, allocations: 7.984 kB / 1.037 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4254, allocations: 0 / 1.037 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.386e-05/0.4255, allocations: 119.2 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4255, allocations: 0 / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003117/0.4259, allocations: 35.94 kB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.426, allocations: 107.2 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008995/0.4269, allocations: 207.8 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4269, allocations: 0 / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.4273, allocations: 91.97 kB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4276, allocations: 7.953 kB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4287, allocations: 320.5 kB / 1.038 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.429, allocations: 0.7043 MB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.4291, allocations: 12 kB / 1.039 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.4292, allocations: 19.41 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of SimCode: time 3.4e-07/0.4292, allocations: 4 kB / 1.039 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of Templates: time 0.003899/0.4331, allocations: 1.287 MB / 1.04 GB, free: 15.91 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches