Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7452 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.53 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3825, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8708/1.253, allocations: 325.1 MB / 1.386 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03223/1.286, allocations: 22.28 MB / 1.407 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005186/1.291, allocations: 97.03 kB / 1.408 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01463/1.306, allocations: 7.693 MB / 1.415 GB, free: 8.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01417/1.32, allocations: 4.266 MB / 1.419 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006464/1.326, allocations: 2.43 MB / 1.422 GB, free: 3.137 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02078/1.347, allocations: 11.94 MB / 1.433 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/1.352, allocations: 2.196 MB / 1.435 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008544/1.361, allocations: 3.133 MB / 1.438 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/1.366, allocations: 1.821 MB / 1.44 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009341/1.367, allocations: 224 kB / 1.44 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008433/1.375, allocations: 3.851 MB / 1.444 GB, free: 1.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/1.377, allocations: 1.137 MB / 1.445 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003619/1.38, allocations: 1.691 MB / 1.447 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/1.393, allocations: 5.722 MB / 1.453 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.393, allocations: 0 / 1.453 GB, free: 9.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.393, allocations: 0 / 1.453 GB, free: 9.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001568/1.393, allocations: 0 / 1.453 GB, free: 9.18 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008564/1.402, allocations: 3.763 MB / 1.456 GB, free: 5.336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.402, allocations: 8.031 kB / 1.456 GB, free: 5.328 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007351/1.409, allocations: 1.096 MB / 1.457 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/1.417, allocations: 3.877 MB / 1.461 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/1.417, allocations: 178.7 kB / 1.461 GB, free: 112 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/1.418, allocations: 152.1 kB / 1.461 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/1.422, allocations: 1.727 MB / 1.463 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/1.422, allocations: 7.922 kB / 1.463 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.422, allocations: 60 kB / 1.463 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/1.422, allocations: 46.59 kB / 1.463 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/1.426, allocations: 1.462 MB / 1.465 GB, free: 12.58 MB / 1.076 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.01337/1.44, allocations: 8.715 MB / 1.473 GB, free: 3.246 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/1.442, allocations: 1.048 MB / 1.474 GB, free: 2.156 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.443, allocations: 0.5061 MB / 1.475 GB, free: 1.648 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.444, allocations: 109.6 kB / 1.475 GB, free: 1.523 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.444, allocations: 43.12 kB / 1.475 GB, free: 1.473 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 3.377e-06/1.444, allocations: 4 kB / 1.475 GB, free: 1.469 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.004685/1.448, allocations: 1.476 MB / 1.476 GB, free: 15.98 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.448, allocations: 67.84 kB / 1.476 GB, free: 15.9 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/1.453, allocations: 2.948 MB / 1.479 GB, free: 12.95 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.454, allocations: 49.7 kB / 1.479 GB, free: 12.89 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.455, allocations: 1.272 MB / 1.48 GB, free: 11.61 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/1.455, allocations: 260.4 kB / 1.481 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000721/1.456, allocations: 431 kB / 1.481 GB, free: 10.92 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/1.456, allocations: 305.1 kB / 1.481 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.458, allocations: 0.8246 MB / 1.482 GB, free: 9.793 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.46, allocations: 1.33 MB / 1.484 GB, free: 8.262 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/1.463, allocations: 1.918 MB / 1.485 GB, free: 6.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.463, allocations: 4 kB / 1.485 GB, free: 6.184 MB / 1.092 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005226/1.469, allocations: 2.42 MB / 1.488 GB, free: 3.754 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.469, allocations: 8 kB / 1.488 GB, free: 3.746 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/1.469, allocations: 12 kB / 1.488 GB, free: 3.734 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/1.469, allocations: 20 kB / 1.488 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.471, allocations: 391.9 kB / 1.488 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000426/1.471, allocations: 0.6094 MB / 1.489 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/1.473, allocations: 239 kB / 1.489 GB, free: 2.465 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.474, allocations: 67.98 kB / 1.489 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002798/1.476, allocations: 1.449 MB / 1.49 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002028/1.479, allocations: 1.306 MB / 1.492 GB, free: 15.45 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003197/1.482, allocations: 1.877 MB / 1.494 GB, free: 13.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.391e-05/1.482, allocations: 11.98 kB / 1.494 GB, free: 13.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.005087/1.487, allocations: 2.361 MB / 1.496 GB, free: 11.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.487, allocations: 13.81 kB / 1.496 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.487, allocations: 12.47 kB / 1.496 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.487, allocations: 24 kB / 1.496 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.488, allocations: 363.4 kB / 1.496 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.488, allocations: 23.94 kB / 1.496 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.491, allocations: 207.6 kB / 1.497 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/1.491, allocations: 63.91 kB / 1.497 GB, free: 10.35 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003932/1.491, allocations: 271.8 kB / 1.497 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/1.492, allocations: 264.5 kB / 1.497 GB, free: 9.812 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/1.495, allocations: 1.149 MB / 1.498 GB, free: 8.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.495, allocations: 12 kB / 1.498 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.495, allocations: 3.938 kB / 1.498 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/1.498, allocations: 0.9373 MB / 1.499 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009427/1.507, allocations: 3.343 MB / 1.502 GB, free: 4.203 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.507, allocations: 4 kB / 1.502 GB, free: 4.199 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.508, allocations: 215.8 kB / 1.503 GB, free: 3.988 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.508, allocations: 4 kB / 1.503 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/1.508, allocations: 27.98 kB / 1.503 GB, free: 3.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003159/1.509, allocations: 0.586 MB / 1.503 GB, free: 3.348 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.509, allocations: 0 / 1.503 GB, free: 3.348 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/1.513, allocations: 1.737 MB / 1.505 GB, free: 1.578 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.514, allocations: 477.3 kB / 1.505 GB, free: 1.09 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006136/1.515, allocations: 16 kB / 1.505 GB, free: 1.074 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/1.516, allocations: 87.86 kB / 1.505 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.517, allocations: 44.5 kB / 1.506 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/1.517, allocations: 27.97 kB / 1.506 GB, free: 0.918 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003515/1.52, allocations: 1.972 MB / 1.507 GB, free: 14.95 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.52, allocations: 0 / 1.507 GB, free: 14.95 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004245/1.524, allocations: 1.263 MB / 1.509 GB, free: 13.69 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 (72): * Single equations (assignments): 71 * 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.00145/1.526, allocations: 492.2 kB / 1.509 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006739/1.533, allocations: 2.782 MB / 1.512 GB, free: 10.42 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.533, allocations: 8.625 kB / 1.512 GB, free: 10.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/1.534, allocations: 487.1 kB / 1.512 GB, free: 9.941 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007675/1.542, allocations: 1.454 MB / 1.514 GB, free: 8.539 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.552, allocations: 4.773 MB / 1.518 GB, free: 3.723 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/1.555, allocations: 1.923 MB / 1.52 GB, free: 1.766 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003628/1.558, allocations: 0.7206 MB / 1.521 GB, free: 1.039 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008501/1.559, allocations: 215.3 kB / 1.521 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of SimCode: time 1.263e-06/1.559, allocations: 0 / 1.521 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of Templates: time 0.09417/1.653, allocations: 52.98 MB / 1.573 GB, free: 12.46 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches