Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001656/0.001656, allocations: 110.7 kB / 15.99 MB, free: 6.355 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.00178/0.00178, allocations: 193.8 kB / 16.91 MB, free: 6.191 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 64.03 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2767, allocations: 140.4 MB / 0.9498 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003515/0.2803, allocations: 1.675 MB / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.2811, allocations: 312 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.2812, allocations: 8 kB / 0.9517 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.181e-05/0.2813, allocations: 3.938 kB / 0.9517 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.2814, allocations: 15.84 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2818, allocations: 51.95 kB / 0.9518 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.282, allocations: 107.6 kB / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2821, allocations: 39.95 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2822, allocations: 35.86 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.2823, allocations: 43.83 kB / 0.952 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.2824, allocations: 8 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.2825, allocations: 27.97 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.2825, allocations: 23.92 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.2825, allocations: 43.73 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2827, allocations: 68.11 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2827, allocations: 0 / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2827, allocations: 3.938 kB / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2827, allocations: 4 kB / 0.9522 GB, free: 6.812 MB / 0.7325 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.0006279/0.2834, allocations: 403.1 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2834, allocations: 8.031 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.2845, allocations: 124.7 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2847, allocations: 172.2 kB / 0.9528 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2847, allocations: 12.27 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2847, allocations: 8.375 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.2853, allocations: 147.8 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2853, allocations: 4.125 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2853, allocations: 7.938 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2853, allocations: 11.97 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.2861, allocations: 151.8 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2872, allocations: 448.3 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.2879, allocations: 134.5 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.2882, allocations: 76.91 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2883, allocations: 0 / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2883, allocations: 38.56 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2883, allocations: 0 / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.001203/0.2895, allocations: 241.3 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.2896, allocations: 63.22 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2898, allocations: 163.8 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2898, allocations: 25.7 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.2899, allocations: 104 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2899, allocations: 15.81 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.29, allocations: 25.69 kB / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2901, allocations: 322.8 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.2905, allocations: 72.8 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.2908, allocations: 72.17 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.2915, allocations: 136.7 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2915, allocations: 4 kB / 0.955 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007912/0.2923, allocations: 201.4 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2924, allocations: 4 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2924, allocations: 0 / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2924, allocations: 0 / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2927, allocations: 39.89 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2927, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.2929, allocations: 27.91 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2929, allocations: 11.98 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001402/0.2931, allocations: 108.1 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001119/0.2932, allocations: 56.27 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001764/0.2934, allocations: 80.19 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.2934, allocations: 7.938 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000256/0.2937, allocations: 101.5 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2937, allocations: 8 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/0.2937, allocations: 0 / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-06/0.2937, allocations: 0 / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.2938, allocations: 23.92 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2938, allocations: 8.094 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.2939, allocations: 15.89 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2939, allocations: 4 kB / 0.9557 GB, free: 2.93 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.294, allocations: 176.3 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.2941, allocations: 7.906 kB / 0.9559 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.2941, allocations: 12.31 kB / 0.9559 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.2941, allocations: 7.938 kB / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2941, allocations: 7.984 kB / 0.9559 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2941, allocations: 3.938 kB / 0.9559 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2953, allocations: 472 kB / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2953, allocations: 8 kB / 0.9564 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.2955, allocations: 39.88 kB / 0.9564 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2955, allocations: 4 kB / 0.9564 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2955, allocations: 0 / 0.9564 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2955, allocations: 3.938 kB / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2956, allocations: 4 kB / 0.9564 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.2964, allocations: 281 kB / 0.9567 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.2965, allocations: 108.9 kB / 0.9568 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2965, allocations: 8 kB / 0.9568 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2968, allocations: 23.97 kB / 0.9568 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2968, allocations: 7.938 kB / 0.9568 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2968, allocations: 3.984 kB / 0.9568 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001036/0.2969, allocations: 130.2 kB / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2969, allocations: 0 / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003235/0.2973, allocations: 28 kB / 0.957 GB, free: 1.512 MB / 0.7325 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 (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.0001294/0.2974, allocations: 99.25 kB / 0.9571 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008855/0.2983, allocations: 184 kB / 0.9572 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2983, allocations: 4 kB / 0.9572 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.2987, allocations: 71.86 kB / 0.9573 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.299, allocations: 16.12 kB / 0.9573 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3001, allocations: 338.9 kB / 0.9576 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3004, allocations: 0.6963 MB / 0.9583 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.3005, allocations: 27.41 kB / 0.9584 GB, free: 20 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3005, allocations: 0 / 0.9584 GB, free: 20 kB / 0.7325 GB Notification: Performance of Templates: time 0.003085/0.3036, allocations: 1.363 MB / 0.9597 GB, free: 14.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches