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.001139/0.001139, allocations: 98.88 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.001553/0.001554, allocations: 181.6 kB / 16.92 MB, free: 6.914 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.462/1.462, 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 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 12.5 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3433, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002014/0.3454, allocations: 1.339 MB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.3462, allocations: 343.1 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.3463, allocations: 0 / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3463, allocations: 3.938 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.3464, allocations: 19.86 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3468, allocations: 71.86 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.347, allocations: 107.5 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3471, allocations: 24 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3472, allocations: 35.86 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.3473, allocations: 39.77 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3474, allocations: 4 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3475, allocations: 35.91 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3475, allocations: 11.98 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.3476, allocations: 57.45 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3477, allocations: 72.08 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3477, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3477, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3477, allocations: 0 / 1.061 GB, free: 2.809 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.0005767/0.3483, allocations: 399.2 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3484, allocations: 15.97 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3498, allocations: 180.6 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.35, allocations: 183.3 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.35, allocations: 4.375 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.3501, allocations: 8.375 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.3507, allocations: 183.6 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3508, allocations: 4.188 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.3508, allocations: 7.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3508, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3518, allocations: 215.7 kB / 1.063 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3531, allocations: 484.3 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.3543, allocations: 210.4 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.3547, allocations: 76.86 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3547, allocations: 3.984 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3548, allocations: 38.48 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3548, allocations: 4 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001287/0.3561, allocations: 261.2 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3561, allocations: 51.41 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3564, allocations: 195.7 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3565, allocations: 25.7 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.3566, allocations: 107.9 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3566, allocations: 7.906 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.3567, allocations: 13.77 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3568, allocations: 318.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.3573, allocations: 95.91 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.3578, allocations: 110.5 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.3587, allocations: 178.4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3587, allocations: 4 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001071/0.3598, allocations: 237.4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.3599, allocations: 114.7 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3599, allocations: 3.984 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3599, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3603, allocations: 51.94 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3603, allocations: 3.938 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.3607, allocations: 55.8 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3607, allocations: 7.984 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3607, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004192/0.3612, allocations: 99.89 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3612, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.3612, allocations: 3.938 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3613, allocations: 23.98 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3614, allocations: 4.141 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3616, allocations: 35.78 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3616, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 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.0001458/0.3617, allocations: 189.1 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3618, allocations: 7.906 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.3618, allocations: 20.23 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3618, allocations: 3.938 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3619, allocations: 4.062 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3619, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3621, allocations: 213.6 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3622, allocations: 0 / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.3624, allocations: 35.95 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3624, allocations: 4 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3624, allocations: 3.984 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3624, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3624, allocations: 7.875 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.3633, allocations: 275.3 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.3634, allocations: 96.98 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3634, allocations: 0 / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.3637, allocations: 39.95 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3638, allocations: 3.938 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3638, allocations: 7.984 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002054/0.364, allocations: 149.4 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.364, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003592/0.3644, allocations: 39.91 kB / 1.066 GB, free: 13.43 MB / 0.8262 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.0001354/0.3645, allocations: 95.25 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.3657, allocations: 231.8 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3657, allocations: 0 / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.3661, allocations: 80.05 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3665, allocations: 4 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3675, allocations: 334.5 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3678, allocations: 0.6926 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.3679, allocations: 23.41 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3679, allocations: 0 / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.003804/0.3717, allocations: 1.675 MB / 1.069 GB, free: 10.24 MB / 0.8262 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 -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