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.001288/0.001288, allocations: 108 kB / 16.36 MB, free: 5.824 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.001279/0.001279, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.75 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8083/1.077, allocations: 325.1 MB / 1.344 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02987/1.107, allocations: 22.26 MB / 1.366 GB, free: 1.578 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/1.11, allocations: 99.44 kB / 1.366 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01309/1.123, allocations: 7.699 MB / 1.374 GB, free: 9.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/1.133, allocations: 4.254 MB / 1.378 GB, free: 5.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/1.139, allocations: 2.446 MB / 1.38 GB, free: 3.062 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01672/1.156, allocations: 11.95 MB / 1.392 GB, free: 7.098 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/1.159, allocations: 2.207 MB / 1.394 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/1.166, allocations: 3.141 MB / 1.397 GB, free: 1.691 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/1.17, allocations: 1.83 MB / 1.399 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007184/1.171, allocations: 224 kB / 1.399 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007209/1.178, allocations: 3.863 MB / 1.403 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/1.179, allocations: 1.137 MB / 1.404 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/1.182, allocations: 1.691 MB / 1.405 GB, free: 8.93 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009033/1.191, allocations: 5.768 MB / 1.411 GB, free: 3.145 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.191, allocations: 0 / 1.411 GB, free: 3.145 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/1.191, allocations: 7.938 kB / 1.411 GB, free: 3.137 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001576/1.191, allocations: 0 / 1.411 GB, free: 3.137 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.007583/1.199, allocations: 3.759 MB / 1.415 GB, free: 15.3 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.199, allocations: 12.03 kB / 1.415 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/1.206, allocations: 1.096 MB / 1.416 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/1.212, allocations: 3.951 MB / 1.42 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/1.212, allocations: 114.7 kB / 1.42 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/1.213, allocations: 148 kB / 1.42 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/1.216, allocations: 1.715 MB / 1.422 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/1.216, allocations: 3.938 kB / 1.422 GB, free: 8.117 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/1.216, allocations: 64 kB / 1.422 GB, free: 8.055 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/1.216, allocations: 46.59 kB / 1.422 GB, free: 8.008 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/1.219, allocations: 1.439 MB / 1.423 GB, free: 6.562 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.01098/1.23, allocations: 8.645 MB / 1.432 GB, free: 13.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.233, allocations: 1.015 MB / 1.433 GB, free: 12.24 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.234, allocations: 0.5037 MB / 1.433 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/1.234, allocations: 109.6 kB / 1.433 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.234, allocations: 39.12 kB / 1.433 GB, free: 11.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 2.255e-06/1.234, allocations: 0 / 1.433 GB, free: 11.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.003897/1.238, allocations: 1.46 MB / 1.435 GB, free: 10.1 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.238, allocations: 59.97 kB / 1.435 GB, free: 10.03 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/1.242, allocations: 2.952 MB / 1.438 GB, free: 7.074 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/1.242, allocations: 41.7 kB / 1.438 GB, free: 7.027 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.243, allocations: 1.276 MB / 1.439 GB, free: 5.738 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/1.243, allocations: 256.4 kB / 1.439 GB, free: 5.484 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/1.244, allocations: 439 kB / 1.44 GB, free: 5.047 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/1.244, allocations: 301.1 kB / 1.44 GB, free: 4.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/1.245, allocations: 0.8168 MB / 1.441 GB, free: 3.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.247, allocations: 1.322 MB / 1.442 GB, free: 2.41 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/1.251, allocations: 1.899 MB / 1.444 GB, free: 368 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.251, allocations: 0 / 1.444 GB, free: 368 kB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004352/1.255, allocations: 2.4 MB / 1.446 GB, free: 13.95 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.255, allocations: 12 kB / 1.446 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.255, allocations: 15.94 kB / 1.446 GB, free: 13.92 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.255, allocations: 16 kB / 1.446 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.257, allocations: 387.9 kB / 1.447 GB, free: 13.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/1.257, allocations: 0.6055 MB / 1.447 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.259, allocations: 230.1 kB / 1.447 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.259, allocations: 71.92 kB / 1.447 GB, free: 12.6 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002336/1.262, allocations: 1.445 MB / 1.449 GB, free: 11.15 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001752/1.263, allocations: 1.286 MB / 1.45 GB, free: 9.676 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002765/1.266, allocations: 1.869 MB / 1.452 GB, free: 7.652 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/1.266, allocations: 4 kB / 1.452 GB, free: 7.648 MB / 1.154 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004055/1.27, allocations: 2.357 MB / 1.454 GB, free: 5.277 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.27, allocations: 8 kB / 1.454 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.27, allocations: 12 kB / 1.454 GB, free: 5.258 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.27, allocations: 20 kB / 1.454 GB, free: 5.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.272, allocations: 360 kB / 1.455 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.272, allocations: 23.92 kB / 1.455 GB, free: 4.863 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.273, allocations: 183.4 kB / 1.455 GB, free: 4.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.274, allocations: 79.92 kB / 1.455 GB, free: 4.605 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.0003551/1.274, allocations: 267.8 kB / 1.455 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/1.274, allocations: 264.5 kB / 1.455 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/1.277, allocations: 1.134 MB / 1.457 GB, free: 2.926 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.277, allocations: 11.98 kB / 1.457 GB, free: 2.914 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.277, allocations: 0 / 1.457 GB, free: 2.914 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002179/1.28, allocations: 0.9178 MB / 1.457 GB, free: 1.965 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/1.286, allocations: 3.329 MB / 1.461 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.286, allocations: 4 kB / 1.461 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.287, allocations: 211.8 kB / 1.461 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.287, allocations: 7.938 kB / 1.461 GB, free: 14.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/1.287, allocations: 19.97 kB / 1.461 GB, free: 14.28 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002854/1.287, allocations: 0.5938 MB / 1.461 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.287, allocations: 0 / 1.461 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/1.291, allocations: 1.711 MB / 1.463 GB, free: 11.92 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.292, allocations: 469.3 kB / 1.464 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/1.293, allocations: 19.94 kB / 1.464 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.294, allocations: 77.55 kB / 1.464 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.294, allocations: 52.44 kB / 1.464 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/1.294, allocations: 35.91 kB / 1.464 GB, free: 11.26 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002831/1.297, allocations: 1.964 MB / 1.466 GB, free: 9.305 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.51e-07/1.297, allocations: 0 / 1.466 GB, free: 9.305 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002937/1.3, allocations: 1.263 MB / 1.467 GB, free: 8.039 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.001032/1.301, allocations: 0.4923 MB / 1.467 GB, free: 7.547 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005183/1.306, allocations: 2.682 MB / 1.47 GB, free: 4.871 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.306, allocations: 0 / 1.47 GB, free: 4.871 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/1.307, allocations: 483.5 kB / 1.47 GB, free: 4.402 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/1.313, allocations: 1.449 MB / 1.472 GB, free: 2.992 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/1.32, allocations: 4.696 MB / 1.476 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.322, allocations: 1.927 MB / 1.478 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002568/1.324, allocations: 0.7244 MB / 1.479 GB, free: 11.56 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/1.325, allocations: 211.3 kB / 1.479 GB, free: 11.36 MB / 1.186 GB Notification: Performance of SimCode: time 6.51e-07/1.325, allocations: 4 kB / 1.479 GB, free: 11.35 MB / 1.186 GB Notification: Performance of Templates: time 0.07823/1.403, allocations: 50.82 MB / 1.529 GB, free: 9.152 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 gbode -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