Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001584/0.001584, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001745/0.001745, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.47/1.47, 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 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 55.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8349, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002724/0.8377, allocations: 1.612 MB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.8384, allocations: 302.3 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.8384, allocations: 1.125 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.8385, allocations: 10.08 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.8386, allocations: 24.78 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.8389, allocations: 76.16 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.8391, allocations: 104.1 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.8392, allocations: 33.45 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.8393, allocations: 40.56 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.8394, allocations: 53.59 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.8394, allocations: 7.312 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.8395, allocations: 27.75 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.8395, allocations: 21.73 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.8396, allocations: 43.67 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.8398, allocations: 105.5 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8398, allocations: 0.7969 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8398, allocations: 0 / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8398, allocations: 1.188 kB / 1.091 GB, free: 3.914 MB / 0.8575 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.0005321/0.8404, allocations: 397.6 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8404, allocations: 10 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.8414, allocations: 126.6 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.8415, allocations: 182.7 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.8416, allocations: 3.688 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.8416, allocations: 9.312 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.8422, allocations: 152.8 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8422, allocations: 1.281 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.8422, allocations: 3.938 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.8422, allocations: 2.25 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.843, allocations: 158.2 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.844, allocations: 442.3 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.8447, allocations: 136.2 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.8451, allocations: 76.23 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.8452, allocations: 0.75 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.8452, allocations: 32.53 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.8452, allocations: 0 / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001241/0.8464, allocations: 248.6 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.8465, allocations: 56.14 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.8466, allocations: 159 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.8467, allocations: 25.7 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.8467, allocations: 103.3 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.8467, allocations: 23.86 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.8468, allocations: 25.62 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.8469, allocations: 328 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.8473, allocations: 76.44 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.8476, allocations: 66.95 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.8484, allocations: 140.4 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8484, allocations: 0.5625 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007904/0.8492, allocations: 185.9 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8492, allocations: 10.5 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8492, allocations: 0 / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8492, allocations: 0.6562 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.8495, allocations: 47.05 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8495, allocations: 1.203 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.8497, allocations: 33.39 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.8498, allocations: 8.922 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001251/0.8499, allocations: 105 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001025/0.85, allocations: 59.16 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001779/0.8502, allocations: 84.16 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.654e-06/0.8502, allocations: 0.6875 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002503/0.8505, allocations: 106.2 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.8505, allocations: 5.594 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.8505, allocations: 2.359 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.8505, allocations: 1.375 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.8506, allocations: 20.53 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.8506, allocations: 10.05 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.8507, allocations: 15.73 kB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.8507, allocations: 3.406 kB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.601e-05/0.8507, allocations: 177.9 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.8508, allocations: 9.094 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.8509, allocations: 12.5 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8509, allocations: 9.531 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8509, allocations: 0.625 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8509, allocations: 5.031 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.852, allocations: 476.1 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.852, allocations: 5.438 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.8522, allocations: 40.44 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8522, allocations: 1.484 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.8523, allocations: 4.312 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8523, allocations: 0.9062 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8523, allocations: 1.547 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.8531, allocations: 285.9 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.8531, allocations: 103.9 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.8532, allocations: 6.484 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.8534, allocations: 23.92 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.8535, allocations: 4.016 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.8535, allocations: 9.672 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.161e-05/0.8536, allocations: 124 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8536, allocations: 0 / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003427/0.8539, allocations: 26.28 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001015/0.854, allocations: 105 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009894/0.855, allocations: 182.1 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8551, allocations: 0.8125 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.8555, allocations: 80.92 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.8559, allocations: 17.16 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.8569, allocations: 304.9 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.8572, allocations: 0.6948 MB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.8573, allocations: 26.7 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/0.8573, allocations: 0.9375 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.003854/0.8612, allocations: 1.368 MB / 1.098 GB, free: 15.37 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches