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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001624/0.001624, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001868/0.001868, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 63.22 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002851/0.3292, allocations: 1.641 MB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.3299, allocations: 347.7 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.33, allocations: 4 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.3301, allocations: 3.938 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.3302, allocations: 23.89 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.3305, allocations: 79.78 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3306, allocations: 107.4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3308, allocations: 39.97 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.3308, allocations: 31.92 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.504e-05/0.3309, allocations: 47.77 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.331, allocations: 11.98 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.3311, allocations: 35.98 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.3311, allocations: 15.92 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.3311, allocations: 39.8 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3313, allocations: 119.5 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3313, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.588e-05/0.3314, allocations: 8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3314, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 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.0005568/0.3319, allocations: 399.2 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.332, allocations: 12.03 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.3333, allocations: 168.5 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3334, allocations: 174.9 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3335, allocations: 8.375 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3335, allocations: 8.375 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.3341, allocations: 170 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3341, allocations: 192 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3341, allocations: 15.86 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3342, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.3351, allocations: 183.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3363, allocations: 476.2 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3373, allocations: 186.4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.3377, allocations: 68.78 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3377, allocations: 3.984 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3378, allocations: 30.56 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.3378, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001088/0.3389, allocations: 225.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3389, allocations: 51.41 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3392, allocations: 196 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3392, allocations: 25.7 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.3393, allocations: 111.9 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3393, allocations: 7.844 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.3394, allocations: 33.69 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3395, allocations: 322.8 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.34, allocations: 88.77 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.3404, allocations: 98.48 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.3412, allocations: 158.4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3412, allocations: 3.984 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009135/0.3421, allocations: 217.4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3421, allocations: 4 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3421, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3421, allocations: 7.938 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.3425, allocations: 51.86 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3425, allocations: 0 / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.3429, allocations: 47.8 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3429, allocations: 3.984 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002011/0.3431, allocations: 124.1 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001826/0.3433, allocations: 73.97 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002734/0.3436, allocations: 105.9 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-06/0.3436, allocations: 3.938 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004249/0.344, allocations: 137.5 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3441, allocations: 10.33 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3441, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.3441, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3442, allocations: 23.92 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3442, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3445, allocations: 28.06 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3445, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 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.0001141/0.3446, allocations: 188.2 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3447, allocations: 11.84 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.3447, allocations: 16.19 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3447, allocations: 0 / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3448, allocations: 4 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3448, allocations: 0 / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.345, allocations: 213.5 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.345, allocations: 7.938 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3453, allocations: 27.95 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3453, allocations: 4 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3453, allocations: 7.922 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3453, allocations: 64 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3453, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.3461, allocations: 263.2 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.3462, allocations: 97 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3462, allocations: 3.938 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3465, allocations: 23.95 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3466, allocations: 4 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3466, allocations: 7.984 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001834/0.3468, allocations: 146.3 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3468, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003502/0.3471, allocations: 36 kB / 1.034 GB, free: 10.04 MB / 0.8106 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.000134/0.3473, allocations: 99.25 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.3483, allocations: 208.1 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3483, allocations: 4.125 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3486, allocations: 63.92 kB / 1.034 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.349, allocations: 4 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.3499, allocations: 247 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3501, allocations: 0.6962 MB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.3503, allocations: 32.23 kB / 1.035 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3504, allocations: 23.41 kB / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3504, allocations: 0 / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.004008/0.3544, allocations: 1.69 MB / 1.037 GB, free: 6.926 MB / 0.8106 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 -s cvode -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/jenkins1/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