Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001369/0.001369, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7315, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00203/0.7336, allocations: 1.687 MB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.7365, allocations: 1.882 MB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.7367, allocations: 7.969 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.7374, allocations: 154.6 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.7381, allocations: 247.6 kB / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.739, allocations: 381.7 kB / 0.9587 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.7396, allocations: 498 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7397, allocations: 35.48 kB / 0.9592 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.7399, allocations: 152.5 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.7402, allocations: 171 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.7402, allocations: 10.86 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.7407, allocations: 315.5 kB / 0.9598 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.7408, allocations: 89.03 kB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.7409, allocations: 69.64 kB / 0.96 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.7413, allocations: 405.7 kB / 0.9603 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7413, allocations: 0 / 0.9603 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7413, allocations: 0 / 0.9603 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7414, allocations: 1.031 kB / 0.9603 GB, free: 3.43 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007562/0.7421, allocations: 0.5638 MB / 0.9609 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.7421, allocations: 9.312 kB / 0.9609 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.743, allocations: 135.2 kB / 0.961 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.7434, allocations: 330.1 kB / 0.9613 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.7434, allocations: 12.47 kB / 0.9614 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.7434, allocations: 10.84 kB / 0.9614 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.744, allocations: 200.6 kB / 0.9616 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.744, allocations: 0 / 0.9616 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.744, allocations: 5.109 kB / 0.9616 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.744, allocations: 2.656 kB / 0.9616 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.7447, allocations: 223.4 kB / 0.9618 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.7456, allocations: 0.5369 MB / 0.9623 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.7462, allocations: 218.4 kB / 0.9625 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.7465, allocations: 105.2 kB / 0.9626 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.7466, allocations: 5 kB / 0.9626 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.7466, allocations: 31.81 kB / 0.9626 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.7466, allocations: 0 / 0.9626 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001134/0.7477, allocations: 370.7 kB / 0.963 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.7478, allocations: 52.81 kB / 0.963 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.7481, allocations: 335.3 kB / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.7481, allocations: 29.7 kB / 0.9634 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.7482, allocations: 148.8 kB / 0.9635 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.7482, allocations: 30.98 kB / 0.9636 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.7482, allocations: 4 kB / 0.9636 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.7483, allocations: 346.1 kB / 0.9639 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.7487, allocations: 118.9 kB / 0.964 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.7491, allocations: 177.1 kB / 0.9642 GB, free: 496 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.7494, allocations: 121.9 kB / 0.9643 GB, free: 448 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7494, allocations: 4 kB / 0.9643 GB, free: 444 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008577/0.7503, allocations: 351.1 kB / 0.9646 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.377e-05/0.7504, allocations: 135.2 kB / 0.9648 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7504, allocations: 2.094 kB / 0.9648 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7504, allocations: 6.922 kB / 0.9648 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.7507, allocations: 69.62 kB / 0.9648 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7508, allocations: 7.406 kB / 0.9648 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.751, allocations: 45.39 kB / 0.9649 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.7511, allocations: 15.19 kB / 0.9649 GB, free: 56 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.7511, allocations: 4.375 kB / 0.9649 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008859/0.752, allocations: 323 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.752, allocations: 5.438 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.752, allocations: 3.375 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.7523, allocations: 60.58 kB / 0.9653 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7523, allocations: 10.64 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.7526, allocations: 36.92 kB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.7526, allocations: 18.7 kB / 0.9653 GB, free: 15.87 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.7528, allocations: 227.5 kB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.7529, allocations: 27.36 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.7538, allocations: 292.7 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.7538, allocations: 5.922 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7538, allocations: 192 / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7538, allocations: 0.9688 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.7541, allocations: 295.5 kB / 0.9662 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7542, allocations: 4.953 kB / 0.9662 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.7544, allocations: 47.41 kB / 0.9662 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7544, allocations: 1.344 kB / 0.9662 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.7544, allocations: 5.281 kB / 0.9662 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7545, allocations: 0 / 0.9662 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7545, allocations: 1.344 kB / 0.9662 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.7552, allocations: 362 kB / 0.9666 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.7554, allocations: 117.8 kB / 0.9667 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.7554, allocations: 5.031 kB / 0.9667 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.7557, allocations: 29.25 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.7557, allocations: 4.188 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7557, allocations: 6.891 kB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003087/0.7561, allocations: 237.7 kB / 0.9669 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7561, allocations: 1.031 kB / 0.9669 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000907/0.757, allocations: 149.4 kB / 0.9671 GB, free: 14.61 MB / 0.7325 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006793/0.7577, allocations: 202.9 kB / 0.9673 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.7591, allocations: 434.2 kB / 0.9677 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7591, allocations: 0 / 0.9677 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.7595, allocations: 113.4 kB / 0.9678 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.7601, allocations: 99.66 kB / 0.9679 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.7612, allocations: 0.5698 MB / 0.9685 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.7615, allocations: 0.7743 MB / 0.9692 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003748/0.7619, allocations: 81.47 kB / 0.9693 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.762, allocations: 30.52 kB / 0.9693 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/0.762, allocations: 0 / 0.9693 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.0127/0.7747, allocations: 6.296 MB / 0.9755 GB, free: 9.609 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches