Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.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_10_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_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00179/0.00179, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.462/1.462, 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 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9407, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003044/0.9438, allocations: 1.621 MB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000813/0.9447, allocations: 342.3 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.9448, allocations: 0 / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.9448, allocations: 7.875 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.945, allocations: 23.78 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.9454, allocations: 79.8 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.9456, allocations: 107.6 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.9457, allocations: 35.98 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.9458, allocations: 39.84 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.9459, allocations: 47.83 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.946, allocations: 8 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.9461, allocations: 35.97 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.9461, allocations: 19.92 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.9462, allocations: 43.73 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.9464, allocations: 111.5 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9464, allocations: 8 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9464, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9464, allocations: 0 / 1.17 GB, free: 1.332 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006577/0.9471, allocations: 408.9 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9471, allocations: 8.625 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.9486, allocations: 164.5 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.9487, allocations: 184.2 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9488, allocations: 4.375 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.9488, allocations: 12.38 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.9494, allocations: 166.1 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9495, allocations: 4.188 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.9495, allocations: 11.88 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9495, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.9504, allocations: 183.8 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.9517, allocations: 484 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.9528, allocations: 194.3 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.9531, allocations: 68.84 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9532, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.9532, allocations: 30.56 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.9532, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001144/0.9544, allocations: 229.3 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.9544, allocations: 55.41 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.9547, allocations: 188.4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.9547, allocations: 25.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.9548, allocations: 111.9 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.9548, allocations: 7.891 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.9549, allocations: 33.69 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.955, allocations: 318.8 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.9555, allocations: 88.77 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.9559, allocations: 102.5 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.9566, allocations: 158.4 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9567, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009427/0.9576, allocations: 217.4 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9576, allocations: 8 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9576, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9577, allocations: 3.938 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.958, allocations: 43.94 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.958, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.9584, allocations: 43.8 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.9585, allocations: 7.984 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002228/0.9587, allocations: 124.1 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001846/0.9589, allocations: 86.22 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002814/0.9592, allocations: 97.91 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.207e-06/0.9592, allocations: 7.984 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004353/0.9596, allocations: 141.4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9596, allocations: 8 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.9597, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.9597, allocations: 7.938 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.9598, allocations: 27.98 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9598, allocations: 3.984 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.9601, allocations: 24.08 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.9601, allocations: 11.92 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.0001153/0.9602, allocations: 188.2 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.9603, allocations: 7.906 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.9604, allocations: 16.19 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9604, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9604, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.9604, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.9606, allocations: 209.6 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9606, allocations: 0 / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.9609, allocations: 27.95 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9609, allocations: 4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.9609, allocations: 8.109 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9609, allocations: 4 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9609, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.9617, allocations: 259.3 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.9618, allocations: 101 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.9619, allocations: 3.938 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.9622, allocations: 23.97 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.9622, allocations: 3.938 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.9622, allocations: 11.98 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001953/0.9624, allocations: 142.1 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9624, allocations: 0 / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003706/0.9628, allocations: 40 kB / 1.175 GB, free: 11.88 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 (3): * Single equations (assignments): 3 * 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.0001329/0.9629, allocations: 99.19 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.964, allocations: 204.2 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.964, allocations: 8.062 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.9644, allocations: 67.91 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.9648, allocations: 8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.9657, allocations: 272.5 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.966, allocations: 0.6885 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.9661, allocations: 27.41 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.9661, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.003593/0.9697, allocations: 1.726 MB / 1.178 GB, free: 8.746 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches