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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 184.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 102.7 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.357e-05/1.358e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2399, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/4.652, allocations: 1.945 GB / 3.151 GB, free: 343.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/4.652, allocations: 94.69 kB / 3.151 GB, free: 343.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.702/9.354, allocations: 1.655 GB / 4.806 GB, free: 6.273 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.252e-06/9.354, allocations: 0 / 4.806 GB, free: 6.273 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003553/9.354, allocations: 55.98 kB / 4.806 GB, free: 6.219 MB / 1.182 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.006846/9.361, allocations: 2.513 MB / 4.809 GB, free: 3.656 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/9.361, allocations: 8.031 kB / 4.809 GB, free: 3.648 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/9.368, allocations: 0.9881 MB / 4.81 GB, free: 2.656 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007806/9.376, allocations: 2.74 MB / 4.813 GB, free: 15.84 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/9.376, allocations: 40 kB / 4.813 GB, free: 15.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/9.376, allocations: 91.94 kB / 4.813 GB, free: 15.71 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002553/9.379, allocations: 1.153 MB / 4.814 GB, free: 14.55 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/9.382, allocations: 1.348 MB / 4.815 GB, free: 13.14 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/9.382, allocations: 3.906 kB / 4.815 GB, free: 13.14 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/9.382, allocations: 4 kB / 4.815 GB, free: 13.13 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-05/9.382, allocations: 50.61 kB / 4.815 GB, free: 13.08 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.01034/9.392, allocations: 7.247 MB / 4.822 GB, free: 5.285 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/9.394, allocations: 0.9775 MB / 4.823 GB, free: 4.258 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/9.394, allocations: 447 kB / 4.824 GB, free: 3.82 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/9.394, allocations: 113.8 kB / 4.824 GB, free: 3.691 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/9.395, allocations: 39.34 kB / 4.824 GB, free: 3.641 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/9.396, allocations: 191.2 kB / 4.824 GB, free: 3.453 MB / 1.198 GB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/9.396, allocations: 0 / 4.824 GB, free: 3.453 MB / 1.198 GB Notification: Performance of matching and sorting (n=78): time 0.002514/9.398, allocations: 1.049 MB / 4.825 GB, free: 2.395 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/9.398, allocations: 60.19 kB / 4.825 GB, free: 2.324 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/9.4, allocations: 1.294 MB / 4.826 GB, free: 0.9961 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/9.4, allocations: 25.7 kB / 4.826 GB, free: 0.9648 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.6935/10.09, allocations: 0.979 MB / 4.827 GB, free: 179.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/10.09, allocations: 266 kB / 4.828 GB, free: 179.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/10.09, allocations: 0 / 4.828 GB, free: 179.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000111/10.09, allocations: 344.5 kB / 4.828 GB, free: 179 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/10.09, allocations: 350.1 kB / 4.828 GB, free: 179 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/10.1, allocations: 0.7516 MB / 4.829 GB, free: 178.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/10.1, allocations: 0.4959 MB / 4.829 GB, free: 178.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/10.1, allocations: 2.438 kB / 4.829 GB, free: 178.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003256/10.1, allocations: 1.315 MB / 4.831 GB, free: 178.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007365/10.1, allocations: 3.938 MB / 4.835 GB, free: 174.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/10.1, allocations: 11.44 kB / 4.835 GB, free: 174.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/10.1, allocations: 107.2 kB / 4.835 GB, free: 174.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/10.1, allocations: 275 kB / 4.835 GB, free: 174.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/10.1, allocations: 2.248 MB / 4.837 GB, free: 172.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/10.11, allocations: 134.3 kB / 4.837 GB, free: 172.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/10.11, allocations: 56.84 kB / 4.837 GB, free: 172.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/10.11, allocations: 4.938 kB / 4.837 GB, free: 172.6 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00238/10.11, allocations: 1.013 MB / 4.838 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/10.11, allocations: 12.97 kB / 4.838 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/10.11, allocations: 104.7 kB / 4.838 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/10.11, allocations: 253.4 kB / 4.839 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/10.11, allocations: 1.663 MB / 4.84 GB, free: 171.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/10.11, allocations: 133.5 kB / 4.84 GB, free: 171.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/10.11, allocations: 54.48 kB / 4.84 GB, free: 171.3 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003772/10.11, allocations: 145 kB / 4.841 GB, free: 171.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/10.12, allocations: 191.2 kB / 4.841 GB, free: 171.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/10.12, allocations: 1.048 MB / 4.842 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/10.12, allocations: 8.5 kB / 4.842 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/10.12, allocations: 0.7656 kB / 4.842 GB, free: 171 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001785/10.12, allocations: 0.884 MB / 4.843 GB, free: 170.9 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.00585/10.13, allocations: 2.789 MB / 4.845 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/10.13, allocations: 2.531 kB / 4.845 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/10.13, allocations: 214.2 kB / 4.846 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/10.13, allocations: 83.77 kB / 4.846 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/10.13, allocations: 15.98 kB / 4.846 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/10.13, allocations: 2.189 MB / 4.848 GB, free: 168.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/10.13, allocations: 4.062 kB / 4.848 GB, free: 168.5 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/10.13, allocations: 1.633 MB / 4.849 GB, free: 168 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/10.13, allocations: 339.6 kB / 4.85 GB, free: 167.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/10.13, allocations: 3.484 kB / 4.85 GB, free: 167.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/10.13, allocations: 127.2 kB / 4.85 GB, free: 167.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/10.13, allocations: 56.8 kB / 4.85 GB, free: 167.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/10.13, allocations: 34.41 kB / 4.85 GB, free: 167.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001866/10.14, allocations: 0.9754 MB / 4.851 GB, free: 167.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.41e-07/10.14, allocations: 0 / 4.851 GB, free: 167.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005315/10.14, allocations: 1.299 MB / 4.852 GB, free: 167.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006613/10.15, allocations: 4.392 MB / 4.856 GB, free: 165.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002893/10.15, allocations: 1.659 MB / 4.858 GB, free: 165.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/10.15, allocations: 0 / 4.858 GB, free: 165.7 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/10.15, allocations: 0.5078 MB / 4.859 GB, free: 165.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/10.16, allocations: 0.8732 MB / 4.859 GB, free: 165.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/10.16, allocations: 2.666 MB / 4.862 GB, free: 164.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/10.16, allocations: 1.619 MB / 4.864 GB, free: 164.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003166/10.16, allocations: 0.6816 MB / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/10.17, allocations: 116.6 kB / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of SimCode: time 8.82e-07/10.17, allocations: 0 / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of Templates: time 0.08642/10.25, allocations: 55.73 MB / 4.919 GB, free: 162.7 MB / 1.198 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches