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.001393/0.001393, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001498/0.001498, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.242/2.242, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 64.88 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003442/0.2877, allocations: 1.608 MB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.2885, allocations: 308 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.2886, allocations: 4 kB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.2887, allocations: 7.875 kB / 0.9521 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2888, allocations: 19.78 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.2892, allocations: 59.88 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.2894, allocations: 119.6 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2895, allocations: 27.97 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.2896, allocations: 39.86 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.2897, allocations: 43.81 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2898, allocations: 8 kB / 0.9525 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.2899, allocations: 27.98 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.2899, allocations: 23.92 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.29, allocations: 43.73 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2902, allocations: 104 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2902, allocations: 0 / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2902, allocations: 0 / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.2902, allocations: 0 / 0.9526 GB, free: 6.434 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.000621/0.2908, allocations: 404.3 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2909, allocations: 8.031 kB / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.2919, allocations: 124.7 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2921, allocations: 180.2 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2921, allocations: 12.22 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.2922, allocations: 8.375 kB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.2927, allocations: 146.1 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2927, allocations: 192 / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2928, allocations: 15.86 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2928, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.2935, allocations: 150.2 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2946, allocations: 456.3 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.2954, allocations: 142.5 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.2957, allocations: 72.91 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2958, allocations: 0 / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2958, allocations: 34.56 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2958, allocations: 0 / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.001242/0.297, allocations: 245.5 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2971, allocations: 55.34 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2973, allocations: 164.4 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2973, allocations: 25.7 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.2974, allocations: 104 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2974, allocations: 7.812 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.2975, allocations: 29.69 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2976, allocations: 322.8 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.298, allocations: 72.86 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2984, allocations: 75.92 kB / 0.9554 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.2991, allocations: 132.9 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2991, allocations: 4 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008165/0.3, allocations: 197.2 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3, allocations: 8 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3, allocations: 0 / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3, allocations: 0 / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3003, allocations: 39.89 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3003, allocations: 4 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3005, allocations: 31.84 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.3006, allocations: 7.984 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001407/0.3007, allocations: 108.1 kB / 0.9559 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001219/0.3009, allocations: 52.27 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001936/0.3011, allocations: 88.19 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3011, allocations: 0 / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002777/0.3014, allocations: 109.4 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3014, allocations: 8.156 kB / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.3014, allocations: 0 / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.3014, allocations: 7.984 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.3015, allocations: 19.92 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3015, allocations: 7.938 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.3016, allocations: 11.89 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3016, allocations: 4 kB / 0.9562 GB, free: 2.547 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.0001099/0.3017, allocations: 180.3 kB / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.3018, allocations: 11.91 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.3018, allocations: 12.31 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3018, allocations: 7.922 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3018, allocations: 3.938 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3018, allocations: 0 / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.303, allocations: 476 kB / 0.9568 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.303, allocations: 3.938 kB / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3032, allocations: 35.94 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3032, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3033, allocations: 12 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3033, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3033, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.3041, allocations: 293 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.3042, allocations: 104.8 kB / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3042, allocations: 0 / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3045, allocations: 19.97 kB / 0.9573 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3045, allocations: 8 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3046, allocations: 11.98 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3047, allocations: 125.1 kB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3047, allocations: 7.938 kB / 0.9574 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003314/0.305, allocations: 24 kB / 0.9575 GB, free: 1.129 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.0001307/0.3052, allocations: 99.25 kB / 0.9575 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.3061, allocations: 187.8 kB / 0.9577 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3061, allocations: 0 / 0.9577 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3065, allocations: 76.3 kB / 0.9578 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3069, allocations: 11.94 kB / 0.9578 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.308, allocations: 310.9 kB / 0.9581 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3084, allocations: 0.7 MB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.3085, allocations: 23.41 kB / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.3085, allocations: 0 / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.003254/0.3117, allocations: 1.369 MB / 0.9602 GB, free: 14.29 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