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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001854/0.001854, allocations: 107.5 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.002018/0.002018, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.83 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003199/0.3167, allocations: 1.694 MB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.3175, allocations: 335.9 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.3176, allocations: 4 kB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.3177, allocations: 3.938 kB / 1.019 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.3178, allocations: 15.84 kB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.3182, allocations: 67.94 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3184, allocations: 107.6 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3185, allocations: 27.98 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3186, allocations: 43.84 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3187, allocations: 47.72 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3188, allocations: 8 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3189, allocations: 35.97 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.3189, allocations: 27.91 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.319, allocations: 39.8 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3191, allocations: 76.09 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3191, allocations: 0 / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3192, allocations: 0 / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3192, allocations: 0 / 1.02 GB, free: 8.465 MB / 0.795 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.0006648/0.3198, allocations: 403.1 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3199, allocations: 12.92 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.3214, allocations: 168.5 kB / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3216, allocations: 178.1 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3216, allocations: 8.375 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3216, allocations: 4.375 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.3223, allocations: 176.7 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3224, allocations: 4.125 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3224, allocations: 11.94 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3224, allocations: 4 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.3234, allocations: 175.8 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3247, allocations: 488.2 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3259, allocations: 182.3 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.3262, allocations: 64.86 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3263, allocations: 4 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3263, allocations: 38.55 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3263, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001241/0.3276, allocations: 225.4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3276, allocations: 51.41 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3279, allocations: 192.7 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3279, allocations: 25.7 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.328, allocations: 111.9 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.3281, allocations: 11.81 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.3282, allocations: 29.69 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3283, allocations: 318.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.3288, allocations: 88.77 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.3293, allocations: 106.5 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.3301, allocations: 154.4 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3301, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001021/0.3311, allocations: 225.4 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3311, allocations: 4 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3312, allocations: 3.984 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3312, allocations: 7.938 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.3315, allocations: 43.94 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3316, allocations: 3.938 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.332, allocations: 51.78 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.332, allocations: 3.938 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002444/0.3323, allocations: 128.1 kB / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001958/0.3325, allocations: 77.97 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002833/0.3328, allocations: 105.9 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.3328, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004614/0.3332, allocations: 141.3 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3333, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.3333, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.3333, allocations: 8.219 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3335, allocations: 27.91 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3335, allocations: 4 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.3337, allocations: 23.97 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3338, allocations: 4 kB / 1.024 GB, free: 4.145 MB / 0.795 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.0001258/0.3339, allocations: 188.1 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.3339, allocations: 7.906 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.334, allocations: 20.17 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.334, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.334, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.334, allocations: 7.938 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3343, allocations: 205.5 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3343, allocations: 0 / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3346, allocations: 35.95 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3346, allocations: 4 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3346, allocations: 7.922 kB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3346, allocations: 0 / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3346, allocations: 0 / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3354, allocations: 259.2 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3355, allocations: 96.98 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3356, allocations: 3.938 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.3359, allocations: 36.02 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3359, allocations: 4 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.336, allocations: 3.984 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002084/0.3362, allocations: 145.4 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.426e-06/0.3362, allocations: 0 / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003602/0.3366, allocations: 35.94 kB / 1.025 GB, free: 3.012 MB / 0.795 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.000141/0.3367, allocations: 103.8 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.3378, allocations: 211.8 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3378, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.3382, allocations: 68.3 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3385, allocations: 0 / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.3395, allocations: 296.8 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3398, allocations: 0.6963 MB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3399, allocations: 31.34 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3399, allocations: 0 / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of Templates: time 0.003902/0.3439, allocations: 1.693 MB / 1.028 GB, free: 15.87 MB / 0.8106 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=400 -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