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.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.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.001014/0.001014, allocations: 97.39 kB / 16.02 MB, free: 76 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.001326/0.001326, allocations: 184.4 kB / 16.92 MB, free: 6.703 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.336 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.639/2.639, allocations: 437.8 MB / 0.7128 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7716, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002151/0.7738, allocations: 1.34 MB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.7746, allocations: 338.2 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.7747, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.7747, allocations: 7.922 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.7748, allocations: 11.88 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.7752, allocations: 67.92 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.7753, allocations: 103.6 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.7755, allocations: 27.98 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7756, allocations: 43.73 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.7757, allocations: 35.78 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.7757, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.7758, allocations: 31.97 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.7759, allocations: 11.98 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.7759, allocations: 65.44 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.7761, allocations: 77.77 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7761, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7761, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7761, allocations: 0 / 1.026 GB, free: 13.71 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005773/0.7767, allocations: 391.2 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7767, allocations: 8.031 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.7782, allocations: 184.6 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.7784, allocations: 180.2 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.7784, allocations: 8.375 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7784, allocations: 8.312 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.7791, allocations: 182.1 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7791, allocations: 7.938 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.7792, allocations: 4 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7792, allocations: 7.984 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009476/0.7801, allocations: 199.8 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.7814, allocations: 492 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7826, allocations: 206.4 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.7829, allocations: 80.84 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.783, allocations: 3.984 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.783, allocations: 38.5 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.783, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001249/0.7843, allocations: 261.4 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7843, allocations: 51.41 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.7846, allocations: 191.5 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7846, allocations: 25.7 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.7847, allocations: 115.9 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.7847, allocations: 3.906 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.7848, allocations: 13.7 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7849, allocations: 318.8 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.7854, allocations: 95.91 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.7858, allocations: 118.4 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/0.7866, allocations: 178.4 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7867, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001004/0.7877, allocations: 241.4 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.7878, allocations: 114.7 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7878, allocations: 4 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7878, allocations: 3.938 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.7881, allocations: 51.88 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7881, allocations: 4 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.7885, allocations: 47.8 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.7886, allocations: 7.984 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.7886, allocations: 4 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003981/0.789, allocations: 99.89 kB / 1.03 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.789, allocations: 4 kB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/0.789, allocations: 0 / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.7892, allocations: 27.91 kB / 1.03 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7892, allocations: 7.938 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.7894, allocations: 27.92 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.7894, allocations: 4 kB / 1.03 GB, free: 9.516 MB / 0.7794 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.0001377/0.7895, allocations: 193.6 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.7896, allocations: 11.89 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.7896, allocations: 12.25 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7896, allocations: 7.938 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7897, allocations: 0 / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7897, allocations: 0 / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.7899, allocations: 209.5 kB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7899, allocations: 0 / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.7901, allocations: 35.95 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.7901, allocations: 0 / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.7902, allocations: 7.984 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7902, allocations: 3.938 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7902, allocations: 0 / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.791, allocations: 283.5 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.7911, allocations: 93 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.7912, allocations: 7.938 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.7915, allocations: 39.95 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.7915, allocations: 4 kB / 1.031 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.7915, allocations: 3.984 kB / 1.031 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001954/0.7917, allocations: 151.2 kB / 1.031 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7917, allocations: 0 / 1.031 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003405/0.7921, allocations: 36 kB / 1.031 GB, free: 8.344 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 (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.00013/0.7922, allocations: 99.25 kB / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.7933, allocations: 231.8 kB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7933, allocations: 0 / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.7937, allocations: 76.05 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.794, allocations: 8 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.7949, allocations: 326.4 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.7952, allocations: 0.7004 MB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.7953, allocations: 27.41 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7953, allocations: 0 / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of Templates: time 0.0037/0.799, allocations: 1.67 MB / 1.034 GB, free: 5.164 MB / 0.7794 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