Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009177/0.009177, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001733/0.001733, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.12 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9355/0.9369, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002771/0.9397, allocations: 1.632 MB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.9404, allocations: 331 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.9404, allocations: 8 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.9405, allocations: 7.875 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.9406, allocations: 19.78 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.9409, allocations: 79.84 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.9411, allocations: 103.6 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.9412, allocations: 39.91 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.9413, allocations: 39.86 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.9414, allocations: 43.83 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.9414, allocations: 8 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.9415, allocations: 35.97 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.9416, allocations: 23.92 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.9416, allocations: 47.67 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.9418, allocations: 111.5 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9418, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9418, allocations: 4 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.9418, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 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.0005978/0.9424, allocations: 405 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9425, allocations: 8.031 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.9439, allocations: 168.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.944, allocations: 180.2 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.944, allocations: 8.375 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.9441, allocations: 4.375 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.9447, allocations: 170.1 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9447, allocations: 3.938 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.9448, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.9448, allocations: 4 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.9457, allocations: 183.7 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.9469, allocations: 488.1 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.9481, allocations: 186.3 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.9484, allocations: 72.83 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.9485, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.9485, allocations: 34.56 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9485, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.9497, allocations: 225.4 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.9498, allocations: 55.34 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.95, allocations: 187.1 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.9501, allocations: 25.7 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.9501, allocations: 111.9 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.9502, allocations: 7.906 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.9503, allocations: 29.69 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9504, allocations: 318.8 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.9509, allocations: 92.77 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.9514, allocations: 102.5 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.9522, allocations: 154.4 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9522, allocations: 0 / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001027/0.9532, allocations: 221.4 kB / 1.213 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9532, allocations: 5.875 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9533, allocations: 3.938 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.9533, allocations: 4 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.9536, allocations: 39.94 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9536, allocations: 8.047 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.954, allocations: 43.8 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.9541, allocations: 7.984 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002312/0.9543, allocations: 135.5 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002037/0.9545, allocations: 69.98 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002841/0.9548, allocations: 109.8 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.9548, allocations: 0 / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004746/0.9553, allocations: 133.5 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.9553, allocations: 8 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.9553, allocations: 0 / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.9554, allocations: 11.92 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.9555, allocations: 23.92 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9555, allocations: 4 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.9558, allocations: 35.94 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.9558, allocations: 4 kB / 1.214 GB, free: 6.781 MB / 0.9356 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.0001088/0.9559, allocations: 176.3 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.956, allocations: 7.906 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.956, allocations: 24.17 kB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.9561, allocations: 0 / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9561, allocations: 0 / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9561, allocations: 4 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.9563, allocations: 201.6 kB / 1.214 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9563, allocations: 0 / 1.214 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.9566, allocations: 35.89 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9566, allocations: 8 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.9566, allocations: 7.922 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9566, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9566, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.9574, allocations: 259.3 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.9575, allocations: 93 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.9576, allocations: 3.938 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.9579, allocations: 27.95 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.9579, allocations: 4 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.9579, allocations: 3.984 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002002/0.9581, allocations: 147.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9581, allocations: 0 / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003559/0.9585, allocations: 32 kB / 1.215 GB, free: 5.668 MB / 0.9356 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.0001195/0.9586, allocations: 103.1 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.9598, allocations: 212.2 kB / 1.215 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9598, allocations: 0 / 1.215 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.9602, allocations: 67.92 kB / 1.215 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.9605, allocations: 4 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.9614, allocations: 267.1 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.9617, allocations: 0.6923 MB / 1.216 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.9619, allocations: 31.97 kB / 1.216 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.962, allocations: 15.42 kB / 1.216 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of SimCode: time 1.783e-06/0.962, allocations: 0 / 1.216 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of Templates: time 0.004553/0.9666, allocations: 1.746 MB / 1.218 GB, free: 2.488 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches