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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001218/0.001218, allocations: 104.9 kB / 16.37 MB, free: 6.426 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.001168/0.001168, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 442.6 MB / 0.7165 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.94 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.337, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.141/1.478, allocations: 325.1 MB / 1.344 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03789/1.516, allocations: 22.27 MB / 1.366 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/1.521, allocations: 95.5 kB / 1.366 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01578/1.537, allocations: 7.701 MB / 1.374 GB, free: 9.824 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.547, allocations: 4.26 MB / 1.378 GB, free: 5.551 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006081/1.554, allocations: 2.444 MB / 1.38 GB, free: 3.121 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01766/1.571, allocations: 11.96 MB / 1.392 GB, free: 7.137 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003438/1.575, allocations: 2.183 MB / 1.394 GB, free: 4.902 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/1.582, allocations: 3.152 MB / 1.397 GB, free: 1.738 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/1.586, allocations: 1.819 MB / 1.399 GB, free: 15.92 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006613/1.586, allocations: 228 kB / 1.399 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007661/1.594, allocations: 3.863 MB / 1.403 GB, free: 11.82 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/1.596, allocations: 1.137 MB / 1.404 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/1.598, allocations: 1.691 MB / 1.405 GB, free: 8.984 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.609, allocations: 5.769 MB / 1.411 GB, free: 3.199 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.609, allocations: 0 / 1.411 GB, free: 3.199 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.074e-06/1.609, allocations: 0 / 1.411 GB, free: 3.199 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001177/1.609, allocations: 0 / 1.411 GB, free: 3.199 MB / 1.107 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.008554/1.618, allocations: 3.763 MB / 1.415 GB, free: 15.35 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.618, allocations: 8.031 kB / 1.415 GB, free: 15.34 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00685/1.625, allocations: 1.1 MB / 1.416 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006892/1.632, allocations: 3.947 MB / 1.42 GB, free: 10.23 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.632, allocations: 118.7 kB / 1.42 GB, free: 10.11 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/1.632, allocations: 148 kB / 1.42 GB, free: 9.965 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/1.636, allocations: 1.719 MB / 1.422 GB, free: 8.172 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.636, allocations: 7.938 kB / 1.422 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.636, allocations: 56 kB / 1.422 GB, free: 8.109 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/1.636, allocations: 50.59 kB / 1.422 GB, free: 8.059 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/1.64, allocations: 1.45 MB / 1.423 GB, free: 6.602 MB / 1.123 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.01268/1.652, allocations: 8.637 MB / 1.432 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/1.654, allocations: 1.015 MB / 1.433 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/1.656, allocations: 0.5002 MB / 1.433 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/1.656, allocations: 109.6 kB / 1.433 GB, free: 11.67 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.656, allocations: 51.06 kB / 1.433 GB, free: 11.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 2.374e-06/1.656, allocations: 0 / 1.433 GB, free: 11.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.004262/1.66, allocations: 1.452 MB / 1.435 GB, free: 10.15 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.66, allocations: 59.97 kB / 1.435 GB, free: 10.08 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/1.665, allocations: 2.956 MB / 1.438 GB, free: 7.121 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000239/1.665, allocations: 45.7 kB / 1.438 GB, free: 7.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.666, allocations: 1.272 MB / 1.439 GB, free: 5.785 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/1.666, allocations: 256.4 kB / 1.439 GB, free: 5.531 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/1.667, allocations: 427 kB / 1.44 GB, free: 5.105 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.667, allocations: 301.1 kB / 1.44 GB, free: 4.809 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.669, allocations: 0.8207 MB / 1.441 GB, free: 3.984 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/1.671, allocations: 1.322 MB / 1.442 GB, free: 2.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/1.676, allocations: 1.903 MB / 1.444 GB, free: 420 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.676, allocations: 4 kB / 1.444 GB, free: 416 kB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.007682/1.684, allocations: 2.4 MB / 1.446 GB, free: 14 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/1.684, allocations: 8.469 kB / 1.446 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.684, allocations: 19.94 kB / 1.446 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/1.684, allocations: 16 kB / 1.446 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.686, allocations: 387.4 kB / 1.447 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005575/1.687, allocations: 0.6093 MB / 1.447 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/1.69, allocations: 234.1 kB / 1.447 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.691, allocations: 67.98 kB / 1.447 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004017/1.695, allocations: 1.441 MB / 1.449 GB, free: 11.2 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002957/1.698, allocations: 1.294 MB / 1.45 GB, free: 9.715 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004383/1.702, allocations: 1.858 MB / 1.452 GB, free: 7.703 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-05/1.702, allocations: 4 kB / 1.452 GB, free: 7.699 MB / 1.154 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.006599/1.709, allocations: 2.354 MB / 1.454 GB, free: 5.332 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.709, allocations: 12 kB / 1.454 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.709, allocations: 12 kB / 1.454 GB, free: 5.309 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/1.709, allocations: 20 kB / 1.454 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/1.711, allocations: 363.4 kB / 1.455 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.163e-05/1.711, allocations: 27.86 kB / 1.455 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/1.714, allocations: 183.4 kB / 1.455 GB, free: 4.727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.714, allocations: 67.98 kB / 1.455 GB, free: 4.66 MB / 1.154 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.0005177/1.715, allocations: 268.8 kB / 1.455 GB, free: 4.391 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/1.716, allocations: 272.4 kB / 1.455 GB, free: 4.121 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/1.72, allocations: 1.122 MB / 1.457 GB, free: 2.984 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.72, allocations: 8 kB / 1.457 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.72, allocations: 0 / 1.457 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003125/1.723, allocations: 0.9255 MB / 1.457 GB, free: 2.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.733, allocations: 3.337 MB / 1.461 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.734, allocations: 0 / 1.461 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.735, allocations: 211.8 kB / 1.461 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/1.735, allocations: 7.938 kB / 1.461 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/1.735, allocations: 23.97 kB / 1.461 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004073/1.736, allocations: 0.5898 MB / 1.461 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.736, allocations: 4.125 kB / 1.461 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005724/1.741, allocations: 1.715 MB / 1.463 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.743, allocations: 469.4 kB / 1.464 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.743, allocations: 12 kB / 1.464 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.745, allocations: 83.83 kB / 1.464 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.745, allocations: 40.5 kB / 1.464 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/1.745, allocations: 35.91 kB / 1.464 GB, free: 11.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003147/1.748, allocations: 1.964 MB / 1.466 GB, free: 9.355 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.51e-07/1.748, allocations: 0 / 1.466 GB, free: 9.355 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003503/1.751, allocations: 1.263 MB / 1.467 GB, free: 8.09 MB / 1.17 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.001157/1.753, allocations: 0.4992 MB / 1.467 GB, free: 7.594 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005543/1.758, allocations: 2.678 MB / 1.47 GB, free: 4.922 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.758, allocations: 0 / 1.47 GB, free: 4.922 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.759, allocations: 484 kB / 1.47 GB, free: 4.453 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.766, allocations: 1.455 MB / 1.472 GB, free: 3.039 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/1.774, allocations: 4.693 MB / 1.476 GB, free: 14.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/1.775, allocations: 1.923 MB / 1.478 GB, free: 12.35 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003444/1.779, allocations: 0.7245 MB / 1.479 GB, free: 11.62 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008688/1.78, allocations: 207.4 kB / 1.479 GB, free: 11.41 MB / 1.186 GB Notification: Performance of SimCode: time 1.974e-06/1.78, allocations: 0 / 1.479 GB, free: 11.41 MB / 1.186 GB Notification: Performance of Templates: time 0.08811/1.868, allocations: 50.83 MB / 1.529 GB, free: 9.207 MB / 1.232 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 -s cvode -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/jenkins1/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