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.001529/0.001529, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001782/0.001782, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.362/2.362, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6949, allocations: 140.4 MB / 0.9491 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002441/0.6974, allocations: 1.669 MB / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005755/0.698, allocations: 313.1 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.698, allocations: 0 / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.6981, allocations: 7.922 kB / 0.951 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.6982, allocations: 14.17 kB / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.6985, allocations: 61.44 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.6986, allocations: 103.8 kB / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.6988, allocations: 41.83 kB / 0.9512 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.6988, allocations: 32.14 kB / 0.9513 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.6989, allocations: 44.47 kB / 0.9513 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.699, allocations: 7.094 kB / 0.9513 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.699, allocations: 29.12 kB / 0.9514 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.6991, allocations: 18.64 kB / 0.9514 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.6991, allocations: 40.8 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.6993, allocations: 103.6 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6993, allocations: 4 kB / 0.9515 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6993, allocations: 5.625 kB / 0.9515 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.6993, allocations: 0 / 0.9515 GB, free: 7.465 MB / 0.7169 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.0004987/0.6998, allocations: 404.9 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6999, allocations: 8.812 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.7009, allocations: 124.2 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.701, allocations: 176.2 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.7011, allocations: 7.719 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.7011, allocations: 5.938 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.7016, allocations: 154.9 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7016, allocations: 8.062 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.7017, allocations: 9.156 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7017, allocations: 5.344 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.7024, allocations: 151.6 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.7033, allocations: 449.5 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.704, allocations: 143.7 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.7044, allocations: 71.31 kB / 0.9532 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.7044, allocations: 5.469 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.081e-05/0.7044, allocations: 32.28 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.7044, allocations: 0 / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001178/0.7056, allocations: 246.6 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.7056, allocations: 56.5 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.7058, allocations: 158.8 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.7058, allocations: 25.7 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.7058, allocations: 104 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.7058, allocations: 18.09 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.7059, allocations: 24.52 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.7059, allocations: 321.4 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.7063, allocations: 76.31 kB / 0.9542 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.7067, allocations: 68.17 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.7074, allocations: 137.4 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7074, allocations: 0 / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007616/0.7081, allocations: 188.2 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7082, allocations: 5.656 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7082, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7082, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.7085, allocations: 50.84 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7085, allocations: 0 / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.7087, allocations: 29.44 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.7087, allocations: 2.062 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001168/0.7089, allocations: 111.7 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.225e-05/0.709, allocations: 63.83 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001654/0.7091, allocations: 81.8 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.7092, allocations: 5.188 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002247/0.7094, allocations: 100 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.7094, allocations: 9.422 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.7094, allocations: 1.406 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.7094, allocations: 6.75 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.7095, allocations: 25.33 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.7095, allocations: 5.031 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.7096, allocations: 9.625 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.7096, allocations: 2.609 kB / 0.955 GB, free: 4.566 MB / 0.7169 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 5.326e-05/0.7096, allocations: 182.7 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.7097, allocations: 15.33 kB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.7097, allocations: 15.56 kB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7097, allocations: 5.062 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7098, allocations: 0 / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7098, allocations: 1.156 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.7107, allocations: 473.4 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7108, allocations: 5.094 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.711, allocations: 35.14 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.711, allocations: 1.156 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.711, allocations: 10.67 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.711, allocations: 1.562 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.711, allocations: 64 / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.7118, allocations: 284.2 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.7119, allocations: 101.5 kB / 0.9561 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.7119, allocations: 1.25 kB / 0.9561 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.7122, allocations: 19.78 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.7122, allocations: 14.42 kB / 0.9562 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.7122, allocations: 3.562 kB / 0.9562 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.7123, allocations: 122.9 kB / 0.9563 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7123, allocations: 4 kB / 0.9563 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003259/0.7127, allocations: 35.59 kB / 0.9563 GB, free: 3.434 MB / 0.7169 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 9.183e-05/0.7128, allocations: 100.4 kB / 0.9564 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008607/0.7136, allocations: 193.2 kB / 0.9566 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7136, allocations: 0 / 0.9566 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.714, allocations: 84.94 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.7143, allocations: 7.984 kB / 0.9567 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.7153, allocations: 310.7 kB / 0.957 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.994e-05/0.7154, allocations: 0.6966 MB / 0.9577 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.598e-05/0.7155, allocations: 18.86 kB / 0.9577 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.7156, allocations: 16.92 kB / 0.9577 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7156, allocations: 1.375 kB / 0.9577 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.003307/0.7189, allocations: 1.369 MB / 0.959 GB, free: 1.52 MB / 0.7169 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/jenkins/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