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.001128/0.001128, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01148/0.01148, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.512/2.512, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7338, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002021/0.7358, allocations: 1.323 MB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.7367, allocations: 313.9 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.7368, allocations: 1.125 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.7369, allocations: 3.984 kB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.737, allocations: 10.19 kB / 0.9566 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.7374, allocations: 63.8 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.7375, allocations: 99.23 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.7377, allocations: 35.62 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.7378, allocations: 30.03 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.7379, allocations: 35.75 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.7379, allocations: 7.5 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.738, allocations: 20.39 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.7381, allocations: 15.89 kB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.7381, allocations: 59.16 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.7383, allocations: 103.8 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7383, allocations: 0 / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7383, allocations: 1.5 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7383, allocations: 0 / 0.9571 GB, free: 6.086 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.0005803/0.7389, allocations: 390.2 kB / 0.9575 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.739, allocations: 9.594 kB / 0.9575 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.74, allocations: 139.2 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7401, allocations: 181.2 kB / 0.9578 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.7402, allocations: 6.969 kB / 0.9578 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7402, allocations: 5.625 kB / 0.9578 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.7408, allocations: 159.1 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.7408, allocations: 4.172 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.7408, allocations: 9.188 kB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.7408, allocations: 1.406 kB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.7416, allocations: 184.3 kB / 0.9581 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.7426, allocations: 456.2 kB / 0.9586 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.7434, allocations: 162 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.7438, allocations: 87.02 kB / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7438, allocations: 1.406 kB / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.7438, allocations: 34.55 kB / 0.9588 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.7438, allocations: 1.125 kB / 0.9588 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.00131/0.7451, allocations: 274.2 kB / 0.9591 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.7452, allocations: 56.53 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.7453, allocations: 163.4 kB / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7454, allocations: 29.7 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.7454, allocations: 95.86 kB / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.7454, allocations: 25.77 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.7455, allocations: 11.88 kB / 0.9595 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.7455, allocations: 321 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.7459, allocations: 82.23 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.7463, allocations: 74.78 kB / 0.9599 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.7471, allocations: 165.7 kB / 0.9601 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7471, allocations: 0 / 0.9601 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008007/0.7479, allocations: 209.9 kB / 0.9603 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.7479, allocations: 101.1 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.748, allocations: 1.375 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.748, allocations: 3.938 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.7482, allocations: 43.45 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7483, allocations: 7.922 kB / 0.9604 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.7485, allocations: 31.41 kB / 0.9605 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.7485, allocations: 6.75 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.7485, allocations: 4.469 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002146/0.7488, allocations: 75.17 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.7488, allocations: 0 / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.7488, allocations: 1.25 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.7489, allocations: 22.05 kB / 0.9606 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.7489, allocations: 8.656 kB / 0.9606 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.749, allocations: 15.05 kB / 0.9606 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.749, allocations: 5.656 kB / 0.9606 GB, free: 3.352 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 9.738e-05/0.7491, allocations: 188.2 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.7491, allocations: 8.844 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.7492, allocations: 11.47 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7492, allocations: 5 kB / 0.9608 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.7492, allocations: 0 / 0.9608 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7492, allocations: 9.016 kB / 0.9608 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.7502, allocations: 0.4904 MB / 0.9613 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7503, allocations: 1.031 kB / 0.9613 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.7505, allocations: 40.7 kB / 0.9613 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.7505, allocations: 9.391 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.7505, allocations: 1.688 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7505, allocations: 1 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7505, allocations: 4.906 kB / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.7513, allocations: 308.5 kB / 0.9616 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.7514, allocations: 102.1 kB / 0.9617 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.7515, allocations: 4.75 kB / 0.9617 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.7517, allocations: 25.62 kB / 0.9618 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.7517, allocations: 6.781 kB / 0.9618 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.7518, allocations: 6.016 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.85e-05/0.7519, allocations: 122.7 kB / 0.9619 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7519, allocations: 0.9062 kB / 0.9619 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003919/0.7523, allocations: 29.69 kB / 0.9619 GB, free: 2.211 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 0.0001097/0.7524, allocations: 100.2 kB / 0.962 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009336/0.7533, allocations: 218.2 kB / 0.9622 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7533, allocations: 0 / 0.9622 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.7537, allocations: 90.77 kB / 0.9623 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.7541, allocations: 11.69 kB / 0.9623 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.7551, allocations: 333.6 kB / 0.9626 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.7552, allocations: 0.6964 MB / 0.9633 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.652e-05/0.7553, allocations: 19.2 kB / 0.9633 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.7554, allocations: 16.83 kB / 0.9634 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.7554, allocations: 0 / 0.9634 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of Templates: time 0.004302/0.7597, allocations: 1.296 MB / 0.9646 GB, free: 328 kB / 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