Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 175.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5775 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 88.03 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 9.156 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 106.3 MB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.294/5.544, allocations: 2.234 GB / 3.134 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/5.544, allocations: 95.45 kB / 3.134 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.477/8.021, allocations: 0.7828 GB / 3.917 GB, free: 122 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/8.021, allocations: 0 / 3.917 GB, free: 122 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002761/8.022, allocations: 44.22 kB / 3.917 GB, free: 122 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007222/8.029, allocations: 2.376 MB / 3.92 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/8.029, allocations: 8.031 kB / 3.92 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/8.032, allocations: 430.9 kB / 3.92 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/8.037, allocations: 1.871 MB / 3.922 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.04e-05/8.037, allocations: 78 kB / 3.922 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003763/8.038, allocations: 116 kB / 3.922 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/8.04, allocations: 1.196 MB / 3.923 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/8.04, allocations: 4 kB / 3.923 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/8.04, allocations: 40 kB / 3.923 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/8.04, allocations: 38 kB / 3.923 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/8.042, allocations: 0.9176 MB / 3.924 GB, free: 114.8 MB / 0.8855 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.007245/8.05, allocations: 4.951 MB / 3.929 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/8.052, allocations: 0.9395 MB / 3.93 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/8.052, allocations: 108.5 kB / 3.93 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008274/8.053, allocations: 488.1 kB / 3.93 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007339/8.053, allocations: 83.34 kB / 3.931 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 3.818e-06/8.053, allocations: 0 / 3.931 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.002877/8.056, allocations: 1.291 MB / 3.932 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/8.056, allocations: 192.6 kB / 3.932 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/8.058, allocations: 1.037 MB / 3.933 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/8.058, allocations: 45.7 kB / 3.933 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/8.058, allocations: 0.6583 MB / 3.934 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/8.058, allocations: 250.6 kB / 3.934 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/8.058, allocations: 16 kB / 3.934 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/8.059, allocations: 342 kB / 3.934 GB, free: 104 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/8.059, allocations: 341.8 kB / 3.935 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/8.06, allocations: 0.6231 MB / 3.935 GB, free: 103 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/8.061, allocations: 451 kB / 3.936 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/8.061, allocations: 0 / 3.936 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002033/8.063, allocations: 1.15 MB / 3.937 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004992/8.063, allocations: 2.076 MB / 3.939 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/8.063, allocations: 8 kB / 3.939 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/8.064, allocations: 76.8 kB / 3.939 GB, free: 99.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/8.064, allocations: 195.6 kB / 3.939 GB, free: 98.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006202/8.065, allocations: 1.212 MB / 3.94 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/8.067, allocations: 103.9 kB / 3.94 GB, free: 97.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/8.067, allocations: 47.98 kB / 3.94 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/8.067, allocations: 4 kB / 3.94 GB, free: 97.46 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001916/8.069, allocations: 1.044 MB / 3.941 GB, free: 96.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/8.069, allocations: 11.97 kB / 3.941 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/8.069, allocations: 112.3 kB / 3.941 GB, free: 96.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/8.07, allocations: 187.7 kB / 3.942 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/8.074, allocations: 2.726 MB / 3.944 GB, free: 93.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/8.075, allocations: 99.83 kB / 3.944 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/8.075, allocations: 43.98 kB / 3.944 GB, free: 93.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.00122/8.077, allocations: 483.5 kB / 3.945 GB, free: 92.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/8.077, allocations: 138.2 kB / 3.945 GB, free: 92.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/8.079, allocations: 0.9793 MB / 3.946 GB, free: 91.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/8.079, allocations: 8 kB / 3.946 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/8.079, allocations: 4 kB / 3.946 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/8.08, allocations: 0.8677 MB / 3.947 GB, free: 90.52 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.003953/8.084, allocations: 2.317 MB / 3.949 GB, free: 88.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/8.084, allocations: 3.953 kB / 3.949 GB, free: 88.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/8.085, allocations: 167.9 kB / 3.949 GB, free: 87.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/8.085, allocations: 80.8 kB / 3.949 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/8.085, allocations: 23.98 kB / 3.949 GB, free: 87.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004718/8.086, allocations: 1.193 MB / 3.951 GB, free: 86.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/8.086, allocations: 0 / 3.951 GB, free: 86.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/8.088, allocations: 1.521 MB / 3.952 GB, free: 85.01 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/8.089, allocations: 287.3 kB / 3.952 GB, free: 84.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/8.089, allocations: 16 kB / 3.952 GB, free: 84.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/8.09, allocations: 110.5 kB / 3.952 GB, free: 84.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/8.09, allocations: 52.48 kB / 3.953 GB, free: 84.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/8.09, allocations: 27.98 kB / 3.953 GB, free: 84.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001064/8.091, allocations: 0.804 MB / 3.953 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/8.091, allocations: 0 / 3.953 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003462/8.095, allocations: 1.104 MB / 3.954 GB, free: 82.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003951/8.099, allocations: 2.776 MB / 3.957 GB, free: 79.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003109/8.102, allocations: 1.678 MB / 3.959 GB, free: 77.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/8.102, allocations: 1 kB / 3.959 GB, free: 77.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007947/8.103, allocations: 415.1 kB / 3.959 GB, free: 77.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/8.106, allocations: 0.6452 MB / 3.96 GB, free: 76.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/8.11, allocations: 3.158 MB / 3.963 GB, free: 73.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/8.11, allocations: 1.323 MB / 3.964 GB, free: 72.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00151/8.112, allocations: 339.3 kB / 3.964 GB, free: 72.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/8.112, allocations: 103.4 kB / 3.965 GB, free: 71.92 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/8.112, allocations: 4 kB / 3.965 GB, free: 71.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.06567/8.178, allocations: 54 MB / 4.017 GB, free: 18.16 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches