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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001845/0.001845, allocations: 196 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.7 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.31 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3352, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002781/0.3381, allocations: 1.68 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.3388, allocations: 355 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.3388, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.3388, allocations: 3.938 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.3389, allocations: 19.84 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3392, allocations: 63.88 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3393, allocations: 107.6 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3394, allocations: 27.98 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.3395, allocations: 39.84 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3396, allocations: 43.78 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3396, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.3397, allocations: 31.97 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.3398, allocations: 19.92 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.3398, allocations: 39.78 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.34, allocations: 103.9 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.34, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.41e-07/0.34, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.34, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 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.0005936/0.3406, allocations: 407.2 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3406, allocations: 12.03 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3421, allocations: 160.6 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3423, allocations: 184.1 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3423, allocations: 12.38 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3424, allocations: 4.375 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.343, allocations: 171.8 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3431, allocations: 192 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.3431, allocations: 7.938 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3431, allocations: 4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.3441, allocations: 183.8 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3454, allocations: 476.2 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3465, allocations: 182.4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.3469, allocations: 64.86 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.347, allocations: 11.92 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.347, allocations: 34.56 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.347, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001354/0.3484, allocations: 225.4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3484, allocations: 55.34 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3487, allocations: 192.4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3487, allocations: 25.7 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.3488, allocations: 115.9 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.3488, allocations: 7.844 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.3489, allocations: 29.69 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.349, allocations: 318.8 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.3495, allocations: 92.75 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.35, allocations: 114.4 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.3508, allocations: 146.4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3509, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001037/0.3519, allocations: 221.6 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3519, allocations: 4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3519, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.352, allocations: 11.92 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.3523, allocations: 43.88 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3523, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.3527, allocations: 47.84 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3527, allocations: 4 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002952/0.353, allocations: 129.8 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001817/0.3532, allocations: 70.3 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002774/0.3535, allocations: 113.8 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.3535, allocations: 3.984 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004369/0.354, allocations: 141.5 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.354, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.354, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.354, allocations: 4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3542, allocations: 27.91 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.3542, allocations: 7.938 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3545, allocations: 31.97 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3545, allocations: 4 kB / 1.074 GB, free: 3.992 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.0001038/0.3546, allocations: 180.2 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3546, allocations: 7.906 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.3547, allocations: 20.17 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3547, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3547, allocations: 4 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3547, allocations: 4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.3549, allocations: 205.6 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.355, allocations: 0 / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3552, allocations: 32.02 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3552, allocations: 4 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3552, allocations: 7.922 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3552, allocations: 7.938 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3552, allocations: 0 / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.3561, allocations: 255.2 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.3562, allocations: 96.98 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.3562, allocations: 7.938 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.3565, allocations: 27.95 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.3566, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3566, allocations: 3.984 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001924/0.3568, allocations: 148.1 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3568, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003605/0.3572, allocations: 32 kB / 1.075 GB, free: 2.867 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.0001215/0.3573, allocations: 95.25 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.3583, allocations: 211.7 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3584, allocations: 0.5625 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3587, allocations: 67.92 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3591, allocations: 7.938 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.36, allocations: 280.6 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3602, allocations: 0.6965 MB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.3604, allocations: 27.98 kB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.3605, allocations: 15.42 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3605, allocations: 4 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.003559/0.364, allocations: 1.564 MB / 1.078 GB, free: 15.85 MB / 0.8419 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/jenkins/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