Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001088/0.001088, allocations: 188.6 kB / 487.4 MB, free: 5.055 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.288/1.288, 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.0009465/0.0009464, allocations: 95.84 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.321e-05, allocations: 5.641 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.175/4.388, allocations: 1.945 GB / 3.151 GB, free: 348 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/4.388, allocations: 91.52 kB / 3.151 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.795/9.184, allocations: 1.656 GB / 4.807 GB, free: 156 kB / 1.167 GB Notification: Performance of FrontEnd: time 1.282e-06/9.184, allocations: 0 / 4.807 GB, free: 156 kB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002176/9.184, allocations: 59.98 kB / 4.807 GB, free: 96 kB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.005863/9.19, allocations: 2.533 MB / 4.809 GB, free: 13.51 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/9.19, allocations: 12.03 kB / 4.809 GB, free: 13.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006596/9.196, allocations: 0.9881 MB / 4.81 GB, free: 12.51 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006788/9.203, allocations: 2.752 MB / 4.813 GB, free: 9.68 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/9.203, allocations: 44 kB / 4.813 GB, free: 9.637 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/9.204, allocations: 95.98 kB / 4.813 GB, free: 9.543 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/9.206, allocations: 1.161 MB / 4.814 GB, free: 8.379 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/9.208, allocations: 1.352 MB / 4.816 GB, free: 6.965 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/9.208, allocations: 7.938 kB / 4.816 GB, free: 6.957 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/9.208, allocations: 3.984 kB / 4.816 GB, free: 6.953 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/9.208, allocations: 46.64 kB / 4.816 GB, free: 6.906 MB / 1.182 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.009748/9.218, allocations: 7.287 MB / 4.823 GB, free: 15.06 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/9.219, allocations: 1.006 MB / 4.824 GB, free: 14 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/9.22, allocations: 447 kB / 4.824 GB, free: 13.56 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/9.22, allocations: 117.8 kB / 4.824 GB, free: 13.43 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/9.22, allocations: 39.34 kB / 4.824 GB, free: 13.38 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000967/9.221, allocations: 127.2 kB / 4.825 GB, free: 13.26 MB / 1.198 GB Notification: Performance of pre-optimization done (n=81): time 3.216e-06/9.221, allocations: 0 / 4.825 GB, free: 13.26 MB / 1.198 GB Notification: Performance of matching and sorting (n=81): time 0.002641/9.224, allocations: 1.097 MB / 4.826 GB, free: 12.14 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/9.224, allocations: 68.19 kB / 4.826 GB, free: 12.07 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/9.225, allocations: 1.298 MB / 4.827 GB, free: 10.73 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/9.226, allocations: 25.7 kB / 4.827 GB, free: 10.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/9.226, allocations: 0.9798 MB / 4.828 GB, free: 9.707 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/9.226, allocations: 275.8 kB / 4.828 GB, free: 9.434 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/9.227, allocations: 0 / 4.828 GB, free: 9.434 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001122/9.227, allocations: 345.9 kB / 4.829 GB, free: 9.09 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/9.227, allocations: 350.5 kB / 4.829 GB, free: 8.746 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/9.228, allocations: 0.7571 MB / 4.83 GB, free: 7.805 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/9.229, allocations: 0.4945 MB / 4.83 GB, free: 7.312 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/9.229, allocations: 4 kB / 4.83 GB, free: 7.309 MB / 1.198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002802/9.232, allocations: 1.37 MB / 4.831 GB, free: 5.922 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001314/9.233, allocations: 3.937 MB / 4.835 GB, free: 1.703 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/9.233, allocations: 8 kB / 4.835 GB, free: 1.695 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/9.233, allocations: 133.6 kB / 4.835 GB, free: 1.559 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/9.235, allocations: 283.6 kB / 4.836 GB, free: 1.281 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.697/9.932, allocations: 3.397 MB / 4.839 GB, free: 176.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/9.934, allocations: 132.7 kB / 4.839 GB, free: 176.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/9.934, allocations: 61.48 kB / 4.839 GB, free: 176.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/9.934, allocations: 3.75 kB / 4.839 GB, free: 176.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00265/9.937, allocations: 1.134 MB / 4.84 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/9.937, allocations: 8.969 kB / 4.84 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/9.937, allocations: 140.2 kB / 4.84 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/9.938, allocations: 255.2 kB / 4.841 GB, free: 176.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/9.94, allocations: 3.062 MB / 4.844 GB, free: 174.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/9.942, allocations: 131.8 kB / 4.844 GB, free: 174.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/9.942, allocations: 53.89 kB / 4.844 GB, free: 174.1 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003265/9.943, allocations: 138.7 kB / 4.844 GB, free: 174 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/9.943, allocations: 192.8 kB / 4.844 GB, free: 174 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/9.946, allocations: 1.164 MB / 4.845 GB, free: 173.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/9.946, allocations: 11.92 kB / 4.845 GB, free: 173.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/9.946, allocations: 4.656 kB / 4.845 GB, free: 173.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001762/9.947, allocations: 1.006 MB / 4.846 GB, free: 173.5 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.005194/9.953, allocations: 2.794 MB / 4.849 GB, free: 172.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/9.953, allocations: 3.781 kB / 4.849 GB, free: 172.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/9.954, allocations: 227.1 kB / 4.849 GB, free: 172.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/9.954, allocations: 103.1 kB / 4.849 GB, free: 172.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/9.954, allocations: 13.11 kB / 4.849 GB, free: 172.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/9.957, allocations: 4.683 MB / 4.854 GB, free: 168.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/9.957, allocations: 9.609 kB / 4.854 GB, free: 168.7 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/9.96, allocations: 1.75 MB / 4.856 GB, free: 168.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/9.96, allocations: 347.8 kB / 4.856 GB, free: 168 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/9.96, allocations: 5.281 kB / 4.856 GB, free: 168 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/9.962, allocations: 125.6 kB / 4.856 GB, free: 168 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/9.962, allocations: 63.5 kB / 4.856 GB, free: 168 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/9.962, allocations: 34.64 kB / 4.856 GB, free: 168 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001564/9.963, allocations: 0.9803 MB / 4.857 GB, free: 167.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.51e-07/9.963, allocations: 0 / 4.857 GB, free: 167.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004557/9.968, allocations: 1.318 MB / 4.858 GB, free: 167.8 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00615/9.974, allocations: 4.385 MB / 4.863 GB, free: 166.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003008/9.977, allocations: 1.821 MB / 4.865 GB, free: 165.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/9.977, allocations: 0 / 4.865 GB, free: 165.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/9.978, allocations: 0.6357 MB / 4.865 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.004302/9.982, allocations: 0.8753 MB / 4.866 GB, free: 165.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/9.988, allocations: 2.71 MB / 4.869 GB, free: 164.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/9.99, allocations: 1.627 MB / 4.87 GB, free: 164 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003604/9.993, allocations: 0.6889 MB / 4.871 GB, free: 164 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/9.994, allocations: 115.2 kB / 4.871 GB, free: 164 MB / 1.198 GB Notification: Performance of SimCode: time 1.152e-06/9.994, allocations: 3.375 kB / 4.871 GB, free: 164 MB / 1.198 GB Notification: Performance of Templates: time 0.08885/10.08, allocations: 56.4 MB / 4.926 GB, free: 162.8 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches