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.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.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.005811/0.005811, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001478/0.001478, allocations: 187.1 kB / 16.67 MB, free: 5.957 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 / 240.4 MB, free: 4.18 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.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.94 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.029/1.37, allocations: 323.5 MB / 1.404 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02941/1.4, allocations: 20.23 MB / 1.424 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005274/1.405, allocations: 92.62 kB / 1.424 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005044/1.41, allocations: 1.509 MB / 1.425 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.423, allocations: 4.229 MB / 1.429 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/1.429, allocations: 2.349 MB / 1.432 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009812/1.439, allocations: 5.946 MB / 1.437 GB, free: 6.316 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/1.442, allocations: 2.156 MB / 1.44 GB, free: 4.941 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006989/1.449, allocations: 3.208 MB / 1.443 GB, free: 2.969 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/1.453, allocations: 1.723 MB / 1.444 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/1.453, allocations: 219.2 kB / 1.445 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007007/1.46, allocations: 3.694 MB / 1.448 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009845/1.461, allocations: 0.8647 MB / 1.449 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001813/1.463, allocations: 1.33 MB / 1.45 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008705/1.472, allocations: 4.74 MB / 1.455 GB, free: 7.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.472, allocations: 4 kB / 1.455 GB, free: 7.727 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/1.472, allocations: 0 / 1.455 GB, free: 7.727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.555e-05/1.472, allocations: 0 / 1.455 GB, free: 7.727 MB / 1.076 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.005148/1.477, allocations: 2.974 MB / 1.458 GB, free: 4.691 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.477, allocations: 8.031 kB / 1.458 GB, free: 4.684 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/1.483, allocations: 1.011 MB / 1.459 GB, free: 3.668 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/1.488, allocations: 1.995 MB / 1.461 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/1.488, allocations: 110.7 kB / 1.461 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/1.488, allocations: 144 kB / 1.461 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/1.492, allocations: 1.713 MB / 1.463 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.492, allocations: 0 / 1.463 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.492, allocations: 56 kB / 1.463 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/1.492, allocations: 54.58 kB / 1.463 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/1.495, allocations: 1.446 MB / 1.464 GB, free: 14 MB / 1.092 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.01089/1.506, allocations: 7.962 MB / 1.472 GB, free: 5.445 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/1.509, allocations: 1.076 MB / 1.473 GB, free: 4.324 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.51, allocations: 0.5351 MB / 1.474 GB, free: 3.789 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.51, allocations: 113.7 kB / 1.474 GB, free: 3.66 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.51, allocations: 35.22 kB / 1.474 GB, free: 3.617 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/1.51, allocations: 4 kB / 1.474 GB, free: 3.613 MB / 1.092 GB Notification: Performance of matching and sorting (n=72): time 0.004102/1.514, allocations: 1.471 MB / 1.475 GB, free: 2.133 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.514, allocations: 60.06 kB / 1.475 GB, free: 2.062 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.517, allocations: 1.797 MB / 1.477 GB, free: 236 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.757e-05/1.517, allocations: 45.7 kB / 1.477 GB, free: 184 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/1.518, allocations: 0.9879 MB / 1.478 GB, free: 15.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/1.518, allocations: 252.3 kB / 1.478 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/1.518, allocations: 214.4 kB / 1.478 GB, free: 14.71 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.518, allocations: 341.9 kB / 1.479 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.52, allocations: 496.5 kB / 1.479 GB, free: 13.89 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.521, allocations: 0.8677 MB / 1.48 GB, free: 12.85 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/1.524, allocations: 1.281 MB / 1.481 GB, free: 11.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.524, allocations: 4 kB / 1.481 GB, free: 11.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003318/1.527, allocations: 1.487 MB / 1.483 GB, free: 9.934 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.527, allocations: 8 kB / 1.483 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.527, allocations: 15.98 kB / 1.483 GB, free: 9.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/1.527, allocations: 15.94 kB / 1.483 GB, free: 9.895 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.528, allocations: 292.6 kB / 1.483 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004004/1.529, allocations: 0.6016 MB / 1.484 GB, free: 8.984 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.53, allocations: 156.2 kB / 1.484 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.53, allocations: 51.98 kB / 1.484 GB, free: 8.781 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001714/1.532, allocations: 0.8649 MB / 1.485 GB, free: 7.91 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/1.533, allocations: 0.8142 MB / 1.485 GB, free: 6.926 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002276/1.536, allocations: 1.184 MB / 1.487 GB, free: 5.617 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.68e-06/1.536, allocations: 8 kB / 1.487 GB, free: 5.609 MB / 1.107 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002773/1.538, allocations: 1.382 MB / 1.488 GB, free: 4.219 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.538, allocations: 14.09 kB / 1.488 GB, free: 4.207 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.538, allocations: 11.98 kB / 1.488 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.538, allocations: 16 kB / 1.488 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009844/1.539, allocations: 259.6 kB / 1.488 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/1.539, allocations: 19.92 kB / 1.488 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.541, allocations: 128.6 kB / 1.488 GB, free: 3.777 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/1.541, allocations: 47.98 kB / 1.488 GB, free: 3.73 MB / 1.107 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.0002953/1.541, allocations: 248.1 kB / 1.489 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.541, allocations: 201.4 kB / 1.489 GB, free: 3.281 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.544, allocations: 1.141 MB / 1.49 GB, free: 2.125 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.544, allocations: 12 kB / 1.49 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.544, allocations: 0 / 1.49 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/1.546, allocations: 0.9685 MB / 1.491 GB, free: 1.117 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/1.552, allocations: 3.056 MB / 1.494 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.552, allocations: 4 kB / 1.494 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.553, allocations: 215.8 kB / 1.494 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/1.553, allocations: 7.938 kB / 1.494 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/1.553, allocations: 23.98 kB / 1.494 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003261/1.554, allocations: 0.586 MB / 1.495 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.554, allocations: 3.984 kB / 1.495 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/1.557, allocations: 1.731 MB / 1.496 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/1.558, allocations: 362.4 kB / 1.497 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.558, allocations: 16 kB / 1.497 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/1.559, allocations: 71.92 kB / 1.497 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.559, allocations: 48.5 kB / 1.497 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/1.559, allocations: 23.98 kB / 1.497 GB, free: 10.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001642/1.561, allocations: 1.224 MB / 1.498 GB, free: 9.547 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.51e-07/1.561, allocations: 0 / 1.498 GB, free: 9.547 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002295/1.563, allocations: 0.9624 MB / 1.499 GB, free: 8.582 MB / 1.123 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.0008624/1.564, allocations: 365.7 kB / 1.499 GB, free: 8.223 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004344/1.569, allocations: 1.729 MB / 1.501 GB, free: 6.496 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.569, allocations: 0 / 1.501 GB, free: 6.496 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.57, allocations: 0.5006 MB / 1.502 GB, free: 5.996 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/1.574, allocations: 1.041 MB / 1.503 GB, free: 4.977 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/1.58, allocations: 3.53 MB / 1.506 GB, free: 1.398 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.581, allocations: 1.562 MB / 1.508 GB, free: 15.8 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001867/1.583, allocations: 488.5 kB / 1.508 GB, free: 15.32 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.583, allocations: 151.4 kB / 1.508 GB, free: 15.17 MB / 1.139 GB Notification: Performance of SimCode: time 8.52e-07/1.583, allocations: 0 / 1.508 GB, free: 15.17 MB / 1.139 GB Notification: Performance of Templates: time 0.07086/1.654, allocations: 39.35 MB / 1.547 GB, free: 8.332 MB / 1.17 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 -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/jenkins/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