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.001574/0.001574, allocations: 100.3 kB / 16.27 MB, free: 5.961 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.001589/0.001589, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 482.4 MB / 0.7553 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.23 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7585, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002802/0.7614, allocations: 1.62 MB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006497/0.7621, allocations: 336.8 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.7621, allocations: 1.125 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.7622, allocations: 6 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.7623, allocations: 20.62 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.7626, allocations: 85.61 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.7627, allocations: 105 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.7629, allocations: 27.59 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.763, allocations: 42.23 kB / 1.085 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.763, allocations: 50.08 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.7631, allocations: 8.844 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.7632, allocations: 40.17 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.7632, allocations: 23.22 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.7633, allocations: 38.69 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.7635, allocations: 115.6 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7635, allocations: 1 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7635, allocations: 0 / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7635, allocations: 0 / 1.085 GB, free: 4 kB / 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.000642/0.7641, allocations: 402.3 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7642, allocations: 10.75 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.7656, allocations: 162.2 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.7658, allocations: 179.6 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.7658, allocations: 6.938 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.7659, allocations: 9.594 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.7665, allocations: 170.4 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.7665, allocations: 192 / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.7666, allocations: 10.2 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7666, allocations: 1.438 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/0.7676, allocations: 184.5 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.7688, allocations: 480.7 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.77, allocations: 190 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.7703, allocations: 68.8 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.7704, allocations: 1.672 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.7704, allocations: 40.67 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.7704, allocations: 0 / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.001234/0.7717, allocations: 227.4 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7717, allocations: 53.47 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.772, allocations: 186 kB / 1.088 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.7721, allocations: 29.7 kB / 1.088 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.7721, allocations: 111.7 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.7722, allocations: 7.703 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.7722, allocations: 29.23 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7724, allocations: 320 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.7729, allocations: 89.75 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.7734, allocations: 102.9 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.7742, allocations: 161.5 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7742, allocations: 0 / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001039/0.7753, allocations: 218.6 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7753, allocations: 5 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7753, allocations: 5.906 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7753, allocations: 5 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.7757, allocations: 41.2 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.7757, allocations: 1.875 kB / 1.089 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.7761, allocations: 49.97 kB / 1.089 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.7761, allocations: 11.25 kB / 1.089 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000244/0.7764, allocations: 121.5 kB / 1.089 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002021/0.7766, allocations: 83.66 kB / 1.089 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000297/0.7769, allocations: 96.44 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.7769, allocations: 5.094 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004714/0.7774, allocations: 134.8 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7774, allocations: 9.344 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.7774, allocations: 5.312 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.7774, allocations: 2.75 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.7776, allocations: 27.05 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7776, allocations: 2.891 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.7779, allocations: 30.98 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.7779, allocations: 4.484 kB / 1.089 GB, free: 13.5 MB / 0.8419 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.000134/0.778, allocations: 183 kB / 1.089 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.7781, allocations: 9.828 kB / 1.089 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.7781, allocations: 16.44 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7782, allocations: 1.094 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.7782, allocations: 0 / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7782, allocations: 10.11 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.7785, allocations: 202.7 kB / 1.09 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7785, allocations: 0 / 1.09 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.7787, allocations: 33.81 kB / 1.09 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7787, allocations: 0 / 1.09 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.7787, allocations: 7.516 kB / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.7787, allocations: 5.688 kB / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.7787, allocations: 4 kB / 1.09 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.7796, allocations: 251.6 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.7797, allocations: 96.02 kB / 1.09 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.7797, allocations: 6.266 kB / 1.09 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.78, allocations: 31.31 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.7801, allocations: 2.656 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.7801, allocations: 3.281 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002226/0.7803, allocations: 151.1 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.094e-06/0.7803, allocations: 0 / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003547/0.7807, allocations: 38.66 kB / 1.09 GB, free: 12.7 MB / 0.8419 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.0001207/0.7808, allocations: 100.5 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.7819, allocations: 208.9 kB / 1.091 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.782, allocations: 0 / 1.091 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.7823, allocations: 72.33 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.7827, allocations: 9.828 kB / 1.091 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.7836, allocations: 284.8 kB / 1.091 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.784, allocations: 0.6924 MB / 1.092 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.7841, allocations: 25.91 kB / 1.092 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.7841, allocations: 4 kB / 1.092 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.003806/0.7879, allocations: 1.704 MB / 1.093 GB, free: 11.52 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=400 -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