Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001686/0.001686, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.665/2.665, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004913, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7256, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.2089/0.9346, allocations: 187.3 MB / 1.137 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.9545, allocations: 12.66 MB / 1.15 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00349/0.958, allocations: 51.69 kB / 1.15 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.9614, allocations: 0.5978 MB / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.9703, allocations: 1.821 MB / 1.152 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005892/0.9762, allocations: 1.162 MB / 1.153 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008447/0.9847, allocations: 4.077 MB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.988, allocations: 1.026 MB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/0.9941, allocations: 1.56 MB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.9973, allocations: 1.062 MB / 1.161 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.9979, allocations: 60 kB / 1.161 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/1.004, allocations: 1.442 MB / 1.162 GB, free: 10.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/1.005, allocations: 490.3 kB / 1.163 GB, free: 9.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/1.006, allocations: 348.8 kB / 1.163 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005213/1.011, allocations: 2.291 MB / 1.165 GB, free: 7.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.011, allocations: 0 / 1.165 GB, free: 7.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.336e-06/1.011, allocations: 4 kB / 1.165 GB, free: 7.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001526/1.012, allocations: 0 / 1.165 GB, free: 7.074 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.007484/1.019, allocations: 1.902 MB / 1.167 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.019, allocations: 8.031 kB / 1.167 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/1.023, allocations: 0.5325 MB / 1.168 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/1.027, allocations: 1.316 MB / 1.169 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.027, allocations: 78 kB / 1.169 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/1.027, allocations: 104 kB / 1.169 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/1.03, allocations: 1.181 MB / 1.17 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/1.03, allocations: 4 kB / 1.17 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.03, allocations: 40 kB / 1.17 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/1.03, allocations: 41.94 kB / 1.17 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/1.032, allocations: 0.9485 MB / 1.171 GB, free: 0.7734 MB / 0.92 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.008044/1.04, allocations: 4.932 MB / 1.176 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/1.042, allocations: 0.7993 MB / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009386/1.043, allocations: 448.3 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/1.043, allocations: 114 kB / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.045, allocations: 498.8 kB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007101/1.045, allocations: 79.34 kB / 1.178 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 5.049e-06/1.045, allocations: 0 / 1.178 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.003509/1.049, allocations: 1.299 MB / 1.179 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/1.049, allocations: 63.95 kB / 1.179 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.051, allocations: 1.156 MB / 1.18 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/1.051, allocations: 45.7 kB / 1.18 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/1.052, allocations: 0.6574 MB / 1.181 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/1.052, allocations: 236.5 kB / 1.181 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/1.052, allocations: 16 kB / 1.181 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.052, allocations: 341.9 kB / 1.182 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/1.053, allocations: 349.8 kB / 1.182 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.054, allocations: 0.5791 MB / 1.183 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/1.055, allocations: 440.7 kB / 1.183 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.055, allocations: 4 kB / 1.183 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002322/1.057, allocations: 1.15 MB / 1.184 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/1.057, allocations: 279 kB / 1.184 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.057, allocations: 4 kB / 1.184 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/1.058, allocations: 88.78 kB / 1.184 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/1.059, allocations: 215.7 kB / 1.185 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/1.06, allocations: 1.216 MB / 1.186 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.061, allocations: 91.98 kB / 1.186 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.061, allocations: 48.05 kB / 1.186 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.061, allocations: 4 kB / 1.186 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002204/1.063, allocations: 1.08 MB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.063, allocations: 4 kB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/1.064, allocations: 149.2 kB / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/1.065, allocations: 203.7 kB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/1.069, allocations: 2.771 MB / 1.19 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.07, allocations: 107.8 kB / 1.19 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-05/1.07, allocations: 43.98 kB / 1.19 GB, free: 12.43 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (98): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * 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.0009674/1.071, allocations: 465.3 kB / 1.191 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.072, allocations: 134.3 kB / 1.191 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/1.074, allocations: 0.9837 MB / 1.192 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.074, allocations: 8 kB / 1.192 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.074, allocations: 0 / 1.192 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/1.076, allocations: 0.8872 MB / 1.193 GB, free: 9.902 MB / 0.9512 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.004292/1.08, allocations: 2.312 MB / 1.195 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.08, allocations: 0 / 1.195 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/1.081, allocations: 167.9 kB / 1.195 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/1.081, allocations: 84.7 kB / 1.195 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/1.081, allocations: 23.98 kB / 1.195 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006985/1.082, allocations: 1.197 MB / 1.196 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.082, allocations: 4.031 kB / 1.196 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/1.086, allocations: 1.467 MB / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/1.087, allocations: 291.3 kB / 1.198 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/1.087, allocations: 12 kB / 1.198 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.088, allocations: 87.92 kB / 1.198 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.088, allocations: 48.48 kB / 1.198 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/1.088, allocations: 27.98 kB / 1.198 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002006/1.09, allocations: 0.7875 MB / 1.199 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.034e-06/1.091, allocations: 4 kB / 1.199 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003799/1.094, allocations: 0.795 MB / 1.2 GB, free: 2.402 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[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 (66): * Single equations (assignments): 62 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/1.096, allocations: 411.9 kB / 1.2 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005537/1.102, allocations: 1.636 MB / 1.202 GB, free: 328 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.102, allocations: 3.938 kB / 1.202 GB, free: 324 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.103, allocations: 435.4 kB / 1.202 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/1.108, allocations: 0.6394 MB / 1.203 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/1.116, allocations: 3.158 MB / 1.206 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.118, allocations: 1.277 MB / 1.207 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002662/1.12, allocations: 347.2 kB / 1.207 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/1.121, allocations: 95.42 kB / 1.208 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of SimCode: time 4.419e-06/1.121, allocations: 0 / 1.208 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.0735/1.194, allocations: 27.33 MB / 1.234 GB, free: 15.35 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches