Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 107.1 kB / 16.37 MB, free: 6.012 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.0017/0.0017, allocations: 195.4 kB / 17.31 MB, free: 5.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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 62.83 kB / 0.814 GB, free: 32.83 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.341, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9981/1.339, allocations: 323.5 MB / 1.267 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03338/1.373, allocations: 20.21 MB / 1.287 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00473/1.377, allocations: 91.5 kB / 1.287 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/1.382, allocations: 1.515 MB / 1.288 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/1.395, allocations: 4.222 MB / 1.292 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006677/1.402, allocations: 2.372 MB / 1.295 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009747/1.411, allocations: 5.946 MB / 1.301 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/1.415, allocations: 2.153 MB / 1.303 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008212/1.424, allocations: 3.211 MB / 1.306 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/1.428, allocations: 1.723 MB / 1.308 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006131/1.428, allocations: 220 kB / 1.308 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007967/1.436, allocations: 3.687 MB / 1.311 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001415/1.438, allocations: 0.8686 MB / 1.312 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002135/1.44, allocations: 1.333 MB / 1.313 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00968/1.449, allocations: 4.737 MB / 1.318 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.45, allocations: 0 / 1.318 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.168e-06/1.45, allocations: 3.984 kB / 1.318 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.317e-05/1.45, allocations: 0 / 1.318 GB, free: 8.668 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005762/1.455, allocations: 2.968 MB / 1.321 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.455, allocations: 8.031 kB / 1.321 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/1.462, allocations: 1.011 MB / 1.322 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/1.467, allocations: 1.991 MB / 1.324 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.467, allocations: 110.7 kB / 1.324 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/1.468, allocations: 156 kB / 1.324 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/1.471, allocations: 1.709 MB / 1.326 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.471, allocations: 0 / 1.326 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/1.471, allocations: 56 kB / 1.326 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.471, allocations: 50.58 kB / 1.326 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/1.475, allocations: 1.447 MB / 1.327 GB, free: 14.95 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/1.486, allocations: 7.954 MB / 1.335 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/1.489, allocations: 1.087 MB / 1.336 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.49, allocations: 0.5371 MB / 1.337 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/1.491, allocations: 117.7 kB / 1.337 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/1.491, allocations: 39.22 kB / 1.337 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.818e-06/1.491, allocations: 3.938 kB / 1.337 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.004241/1.495, allocations: 1.464 MB / 1.338 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.495, allocations: 60.06 kB / 1.338 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.498, allocations: 1.797 MB / 1.34 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/1.498, allocations: 45.7 kB / 1.34 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/1.499, allocations: 0.9879 MB / 1.341 GB, free: 128 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/1.499, allocations: 264.4 kB / 1.341 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/1.499, allocations: 206.4 kB / 1.342 GB, free: 15.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.499, allocations: 341.9 kB / 1.342 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.501, allocations: 496.5 kB / 1.342 GB, free: 14.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.502, allocations: 0.8677 MB / 1.343 GB, free: 13.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/1.505, allocations: 1.278 MB / 1.344 GB, free: 12.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.505, allocations: 4 kB / 1.344 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003482/1.508, allocations: 1.495 MB / 1.346 GB, free: 10.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.508, allocations: 12 kB / 1.346 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.508, allocations: 8 kB / 1.346 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/1.508, allocations: 16 kB / 1.346 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.51, allocations: 287.6 kB / 1.346 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000405/1.51, allocations: 0.6016 MB / 1.347 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.512, allocations: 164.1 kB / 1.347 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.512, allocations: 55.97 kB / 1.347 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001857/1.514, allocations: 0.8611 MB / 1.348 GB, free: 8.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001255/1.515, allocations: 0.8092 MB / 1.349 GB, free: 7.867 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00216/1.517, allocations: 1.188 MB / 1.35 GB, free: 6.551 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/1.517, allocations: 4 kB / 1.35 GB, free: 6.547 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002985/1.52, allocations: 1.381 MB / 1.351 GB, free: 5.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.52, allocations: 8 kB / 1.351 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.52, allocations: 8 kB / 1.351 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.52, allocations: 16 kB / 1.351 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.521, allocations: 264 kB / 1.351 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.521, allocations: 19.94 kB / 1.351 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.523, allocations: 128.5 kB / 1.352 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/1.523, allocations: 47.98 kB / 1.352 GB, free: 4.676 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003518/1.523, allocations: 252.4 kB / 1.352 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/1.524, allocations: 193.5 kB / 1.352 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/1.527, allocations: 1.149 MB / 1.353 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.527, allocations: 8 kB / 1.353 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.527, allocations: 0 / 1.353 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/1.529, allocations: 0.9801 MB / 1.354 GB, free: 2.055 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/1.535, allocations: 3.029 MB / 1.357 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.535, allocations: 4 kB / 1.357 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.536, allocations: 211.8 kB / 1.357 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.536, allocations: 4 kB / 1.357 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/1.536, allocations: 27.97 kB / 1.357 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003094/1.537, allocations: 0.5976 MB / 1.358 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.537, allocations: 3.938 kB / 1.358 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/1.54, allocations: 1.723 MB / 1.36 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/1.541, allocations: 362.4 kB / 1.36 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.542, allocations: 16 kB / 1.36 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.543, allocations: 67.94 kB / 1.36 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.543, allocations: 52.44 kB / 1.36 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/1.543, allocations: 32.06 kB / 1.36 GB, free: 11.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001733/1.545, allocations: 1.22 MB / 1.361 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.545, allocations: 4 kB / 1.361 GB, free: 10.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002358/1.547, allocations: 0.9585 MB / 1.362 GB, free: 9.539 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000873/1.548, allocations: 366.5 kB / 1.363 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004253/1.552, allocations: 1.734 MB / 1.364 GB, free: 7.453 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/1.552, allocations: 0.5 kB / 1.364 GB, free: 7.453 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.553, allocations: 0.4951 MB / 1.365 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/1.558, allocations: 1.044 MB / 1.366 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/1.564, allocations: 3.52 MB / 1.369 GB, free: 2.367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.565, allocations: 1.562 MB / 1.371 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00205/1.567, allocations: 492.5 kB / 1.371 GB, free: 292 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/1.567, allocations: 151.4 kB / 1.371 GB, free: 140 kB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/1.567, allocations: 0 / 1.371 GB, free: 140 kB / 1.029 GB Notification: Performance of Templates: time 0.06913/1.636, allocations: 38.46 MB / 1.409 GB, free: 10.23 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches