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.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 187.7 kB / 316.3 MB, free: 3.207 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.777/1.777, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0009384/0.0009384, allocations: 85.91 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.938e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7286/0.98, allocations: 132.8 MB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.9803, allocations: 88.23 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008948/0.9892, allocations: 3.183 MB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9893, allocations: 0 / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9893, allocations: 8 kB / 1.018 GB, free: 2.238 MB / 0.6355 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.0004395/0.9897, allocations: 389.6 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9898, allocations: 8.031 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000728/0.9905, allocations: 87.8 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.9907, allocations: 182.9 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.9907, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.9907, allocations: 4 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/0.9909, allocations: 70.34 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.9911, allocations: 93.56 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9911, allocations: 3.984 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.9911, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9911, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009424/0.9921, allocations: 430.1 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.9922, allocations: 69.7 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.9923, allocations: 28.05 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.9923, allocations: 3.984 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.9924, allocations: 42.44 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.9924, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000229/0.9926, allocations: 88.98 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.9926, allocations: 51.41 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.9927, allocations: 115.5 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.9928, allocations: 25.7 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.9928, allocations: 111.7 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.9929, allocations: 19.73 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.9929, allocations: 0 / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.993, allocations: 314.7 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.9931, allocations: 31.67 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.9931, allocations: 27.5 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.9932, allocations: 23.8 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9932, allocations: 0 / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.9933, allocations: 101 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.9934, allocations: 92.88 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9934, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.9934, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.9937, allocations: 47.94 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9937, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.994, allocations: 31.97 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.994, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.994, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.833e-05/0.9941, allocations: 35.59 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.9941, allocations: 0.7812 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-06/0.9941, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.9942, allocations: 23.92 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.9942, allocations: 3.953 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.9942, allocations: 19.52 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.9943, allocations: 8 kB / 1.021 GB, free: 15.72 MB / 0.6511 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 () * 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 7.195e-05/0.9943, allocations: 101 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.9944, allocations: 4 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.9944, allocations: 11.91 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9944, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9944, allocations: 3.953 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9945, allocations: 4 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.9949, allocations: 367.2 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9949, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.9952, allocations: 44 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.9952, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.9952, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9952, allocations: 3.953 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9952, allocations: 7.922 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.9954, allocations: 226.3 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.9955, allocations: 92.92 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.9955, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.9958, allocations: 27.97 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.9958, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.9959, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.9959, allocations: 98.77 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9959, allocations: 3.938 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002968/0.9962, allocations: 35.84 kB / 1.022 GB, free: 14.65 MB / 0.6511 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 () * 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.0001414/0.9964, allocations: 99.19 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.9966, allocations: 82.94 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9966, allocations: 4 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.9966, allocations: 35.42 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.9968, allocations: 5.812 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.9975, allocations: 171.5 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.9978, allocations: 0.7001 MB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000104/0.9979, allocations: 23.89 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.9979, allocations: 19.3 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.998, allocations: 0 / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.003221/1.001, allocations: 1.212 MB / 1.024 GB, free: 12.31 MB / 0.6511 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