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.001016/0.001022, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.312 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.437/2.437, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 16 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7623, allocations: 142.4 MB / 0.9557 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.2405/1.003, allocations: 200.7 MB / 1.152 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02302/1.026, allocations: 13.53 MB / 1.165 GB, free: 8.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/1.029, allocations: 47.69 kB / 1.165 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/1.032, allocations: 0.8046 MB / 1.166 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007993/1.04, allocations: 2.3 MB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006117/1.046, allocations: 1.398 MB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009271/1.055, allocations: 4.799 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/1.059, allocations: 1.167 MB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/1.064, allocations: 1.716 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/1.068, allocations: 1.116 MB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005831/1.068, allocations: 63.94 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006654/1.075, allocations: 2.568 MB / 1.181 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/1.076, allocations: 0.4905 MB / 1.181 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002439/1.079, allocations: 0.8059 MB / 1.182 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005224/1.084, allocations: 2.397 MB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.084, allocations: 0 / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.374e-06/1.084, allocations: 4 kB / 1.184 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.705e-05/1.084, allocations: 0 / 1.184 GB, free: 4.621 MB / 0.9356 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.005301/1.089, allocations: 1.89 MB / 1.186 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.089, allocations: 12.03 kB / 1.186 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/1.093, allocations: 0.5286 MB / 1.187 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/1.097, allocations: 1.362 MB / 1.188 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.097, allocations: 81.94 kB / 1.188 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/1.098, allocations: 108 kB / 1.188 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/1.101, allocations: 1.189 MB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.101, allocations: 0 / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.101, allocations: 40 kB / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/1.101, allocations: 38 kB / 1.189 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.104, allocations: 0.9563 MB / 1.19 GB, free: 14.27 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 preOpt removeSimpleEquations (simulation): time 0.009111/1.113, allocations: 4.931 MB / 1.195 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.115, allocations: 0.8032 MB / 1.196 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.116, allocations: 446.3 kB / 1.196 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/1.116, allocations: 110 kB / 1.196 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.117, allocations: 0.4948 MB / 1.197 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007402/1.118, allocations: 71.42 kB / 1.197 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 1.011e-05/1.118, allocations: 0 / 1.197 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.003813/1.122, allocations: 1.307 MB / 1.198 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.122, allocations: 59.97 kB / 1.198 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.124, allocations: 1.172 MB / 1.199 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/1.124, allocations: 41.7 kB / 1.199 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006921/1.125, allocations: 0.6613 MB / 1.2 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/1.125, allocations: 236.6 kB / 1.2 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.126, allocations: 77.67 kB / 1.2 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.126, allocations: 342 kB / 1.201 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.127, allocations: 401.8 kB / 1.201 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.128, allocations: 0.6337 MB / 1.202 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/1.13, allocations: 1.026 MB / 1.203 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.13, allocations: 96 / 1.203 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002981/1.133, allocations: 1.31 MB / 1.204 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/1.133, allocations: 279 kB / 1.204 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.133, allocations: 4 kB / 1.204 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/1.134, allocations: 120.7 kB / 1.204 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/1.135, allocations: 215.7 kB / 1.205 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/1.136, allocations: 1.22 MB / 1.206 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.137, allocations: 107.8 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.137, allocations: 47.98 kB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.137, allocations: 5.562 kB / 1.206 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002413/1.14, allocations: 1.076 MB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.14, allocations: 4 kB / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/1.14, allocations: 153.1 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/1.141, allocations: 199.7 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/1.146, allocations: 2.817 MB / 1.21 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.147, allocations: 99.89 kB / 1.21 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.148, allocations: 43.98 kB / 1.21 GB, free: 8.805 MB / 0.9669 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001052/1.149, allocations: 468.7 kB / 1.211 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.149, allocations: 134.3 kB / 1.211 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/1.152, allocations: 0.9797 MB / 1.212 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.152, allocations: 8 kB / 1.212 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.152, allocations: 0 / 1.212 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/1.154, allocations: 0.8911 MB / 1.213 GB, free: 6.273 MB / 0.9669 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.005156/1.159, allocations: 2.327 MB / 1.215 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.159, allocations: 0 / 1.215 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/1.16, allocations: 164 kB / 1.215 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/1.16, allocations: 92.64 kB / 1.215 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/1.16, allocations: 19.98 kB / 1.215 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/1.161, allocations: 1.201 MB / 1.216 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.161, allocations: 0 / 1.216 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/1.164, allocations: 1.459 MB / 1.218 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/1.165, allocations: 283.3 kB / 1.218 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/1.165, allocations: 19.98 kB / 1.218 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.166, allocations: 91.86 kB / 1.218 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.167, allocations: 48.44 kB / 1.218 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/1.167, allocations: 27.98 kB / 1.218 GB, free: 364 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001494/1.168, allocations: 0.8031 MB / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/1.168, allocations: 0 / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002735/1.171, allocations: 0.7912 MB / 1.22 GB, free: 14.76 MB / 0.9825 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/1.172, allocations: 406.3 kB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004036/1.176, allocations: 1.679 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.176, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.177, allocations: 431.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.181, allocations: 0.6434 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.187, allocations: 3.297 MB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.188, allocations: 1.277 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.188, allocations: 107.4 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.188, allocations: 4 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.5494/1.738, allocations: 36.63 MB / 1.263 GB, free: 276 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/jenkins1/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