Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001917/0.001917, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002103/0.002103, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.384/1.384, 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 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.86 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3048, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004324/0.3091, allocations: 2.311 MB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.3158, allocations: 3.789 MB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.3162, allocations: 7.938 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.3225, allocations: 2.993 MB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3236, allocations: 400.4 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3249, allocations: 0.5068 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004913/0.3299, allocations: 3.101 MB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.3301, allocations: 40.69 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.3305, allocations: 203.3 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.3309, allocations: 203.2 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.331, allocations: 23.94 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.3324, allocations: 0.7409 MB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3327, allocations: 211.5 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.3329, allocations: 238.5 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.3345, allocations: 1.005 MB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3345, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3345, allocations: 7.938 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.3346, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001636/0.3362, allocations: 0.8827 MB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3362, allocations: 12.88 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.3376, allocations: 216 kB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.3396, allocations: 0.956 MB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.3397, allocations: 12 kB / 1.035 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3398, allocations: 12 kB / 1.035 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.3403, allocations: 258.5 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3404, allocations: 0 / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3404, allocations: 7.984 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3404, allocations: 0 / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.3411, allocations: 247.8 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3427, allocations: 0.8315 MB / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.3434, allocations: 306.6 kB / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.3438, allocations: 128.8 kB / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3438, allocations: 4 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3439, allocations: 30.56 kB / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.205e-06/0.3439, allocations: 0 / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.00132/0.3452, allocations: 448.6 kB / 1.038 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3453, allocations: 51.41 kB / 1.038 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.3461, allocations: 0.7341 MB / 1.038 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.3462, allocations: 33.7 kB / 1.038 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.3464, allocations: 228.8 kB / 1.039 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.3464, allocations: 39.44 kB / 1.039 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3467, allocations: 162 kB / 1.039 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3468, allocations: 366.8 kB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.3476, allocations: 442.9 kB / 1.04 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.3484, allocations: 0.5355 MB / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3497, allocations: 0.8663 MB / 1.041 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3497, allocations: 384 / 1.041 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001782/0.3515, allocations: 1.076 MB / 1.042 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3515, allocations: 4 kB / 1.042 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3516, allocations: 4 kB / 1.042 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3516, allocations: 7.938 kB / 1.042 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.3521, allocations: 119.8 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3521, allocations: 4 kB / 1.042 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.3526, allocations: 71.34 kB / 1.042 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.3527, allocations: 35.98 kB / 1.042 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00083/0.3535, allocations: 0.541 MB / 1.043 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006924/0.3542, allocations: 468.4 kB / 1.043 GB, free: 424 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001206/0.3554, allocations: 0.7237 MB / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.3555, allocations: 0 / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001653/0.3571, allocations: 0.9262 MB / 1.045 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3571, allocations: 8 kB / 1.045 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3572, allocations: 3.938 kB / 1.045 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.3572, allocations: 4 kB / 1.045 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.3576, allocations: 107.9 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3576, allocations: 7.938 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.3581, allocations: 60.2 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3582, allocations: 28 kB / 1.045 GB, free: 14.53 MB / 0.8262 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002047/0.3584, allocations: 204.1 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.3585, allocations: 51.25 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3598, allocations: 362.5 kB / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3598, allocations: 0 / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3598, allocations: 0 / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3598, allocations: 4 kB / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.3604, allocations: 405.3 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3605, allocations: 0 / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3607, allocations: 43.91 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3608, allocations: 4 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3608, allocations: 7.922 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3608, allocations: 4 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3608, allocations: 0 / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.3617, allocations: 430.5 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3619, allocations: 152.3 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.362, allocations: 0 / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.3623, allocations: 27.97 kB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3623, allocations: 8 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3624, allocations: 11.98 kB / 1.047 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006209/0.363, allocations: 0.4951 MB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.363, allocations: 0 / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001037/0.364, allocations: 307.9 kB / 1.047 GB, free: 11.95 MB / 0.8262 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 (11): * Single equations (assignments): 11 * 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.0009741/0.365, allocations: 374.8 kB / 1.048 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.3672, allocations: 1.15 MB / 1.049 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3672, allocations: 0 / 1.049 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.3676, allocations: 136.3 kB / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.3686, allocations: 201.4 kB / 1.049 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3702, allocations: 0.9643 MB / 1.05 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.3707, allocations: 0.901 MB / 1.051 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.371, allocations: 55.42 kB / 1.051 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/0.371, allocations: 3.938 kB / 1.051 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of Templates: time 0.01631/0.3873, allocations: 9.931 MB / 1.061 GB, free: 14.26 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches