Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Validation.Pump_stratos,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.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,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.Pump_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007539/0.007539, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001657/0.001657, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.05 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8931, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1057/0.9989, allocations: 101.6 MB / 1.187 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03061/1.03, allocations: 18.45 MB / 1.205 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/1.034, allocations: 89.75 kB / 1.205 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004409/1.038, allocations: 1.341 MB / 1.207 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009612/1.048, allocations: 2.862 MB / 1.209 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.055, allocations: 2.277 MB / 1.212 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009523/1.064, allocations: 5.503 MB / 1.217 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/1.068, allocations: 1.899 MB / 1.219 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006524/1.074, allocations: 2.303 MB / 1.221 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/1.079, allocations: 1.735 MB / 1.223 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0009749/1.08, allocations: 237.4 kB / 1.223 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/1.085, allocations: 2.019 MB / 1.225 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/1.086, allocations: 0.9948 MB / 1.226 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003438/1.09, allocations: 1.55 MB / 1.227 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008569/1.098, allocations: 4.876 MB / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.098, allocations: 0 / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/1.098, allocations: 0 / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001634/1.099, allocations: 0 / 1.232 GB, free: 10.18 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.008564/1.107, allocations: 3.552 MB / 1.236 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.107, allocations: 11.97 kB / 1.236 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/1.111, allocations: 0.7348 MB / 1.236 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006976/1.118, allocations: 3.149 MB / 1.239 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.118, allocations: 98.23 kB / 1.24 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/1.119, allocations: 136 kB / 1.24 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/1.123, allocations: 1.811 MB / 1.241 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/1.123, allocations: 3.938 kB / 1.241 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/1.123, allocations: 55.98 kB / 1.242 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/1.123, allocations: 31.98 kB / 1.242 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/1.127, allocations: 1.387 MB / 1.243 GB, free: 14.99 MB / 0.9825 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.01269/1.139, allocations: 8.385 MB / 1.251 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/1.143, allocations: 1.165 MB / 1.252 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/1.144, allocations: 0.6576 MB / 1.253 GB, free: 4.199 MB / 0.9825 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 evalFunc (simulation): time 0.004514/1.149, allocations: 2.843 MB / 1.256 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.149, allocations: 47.12 kB / 1.256 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=55): time 2.195e-06/1.149, allocations: 0 / 1.256 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.007511/1.156, allocations: 2.405 MB / 1.258 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.156, allocations: 59.97 kB / 1.258 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/1.16, allocations: 2.903 MB / 1.261 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.161, allocations: 41.7 kB / 1.261 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.162, allocations: 1.213 MB / 1.262 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/1.162, allocations: 193.2 kB / 1.262 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/1.162, allocations: 286.4 kB / 1.263 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.163, allocations: 353.9 kB / 1.263 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.164, allocations: 1.004 MB / 1.264 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.167, allocations: 1.539 MB / 1.265 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.171, allocations: 2.448 MB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.171, allocations: 4 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005773/1.176, allocations: 3.002 MB / 1.271 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/1.177, allocations: 12 kB / 1.271 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.177, allocations: 12 kB / 1.271 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.178, allocations: 0.5874 MB / 1.271 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.179, allocations: 279.5 kB / 1.272 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/1.181, allocations: 1.589 MB / 1.273 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.183, allocations: 210.5 kB / 1.273 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/1.183, allocations: 95.97 kB / 1.273 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002442/1.185, allocations: 1.373 MB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001897/1.187, allocations: 1.344 MB / 1.276 GB, free: 11.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003425/1.191, allocations: 2.066 MB / 1.278 GB, free: 9.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.138e-05/1.191, allocations: 4 kB / 1.278 GB, free: 9.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.005443/1.196, allocations: 2.655 MB / 1.281 GB, free: 6.359 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.196, allocations: 12.47 kB / 1.281 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.196, allocations: 12 kB / 1.281 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/1.198, allocations: 0.7004 MB / 1.281 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/1.199, allocations: 259.5 kB / 1.282 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.211, allocations: 9.421 MB / 1.291 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.214, allocations: 155.2 kB / 1.291 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.214, allocations: 91.92 kB / 1.291 GB, free: 11.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005607/1.215, allocations: 251.8 kB / 1.291 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/1.215, allocations: 248.8 kB / 1.292 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/1.22, allocations: 1.873 MB / 1.293 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.22, allocations: 15.92 kB / 1.293 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.22, allocations: 4 kB / 1.293 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003542/1.223, allocations: 1.693 MB / 1.295 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007014/1.23, allocations: 3.583 MB / 1.299 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.231, allocations: 0 / 1.299 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/1.231, allocations: 167.8 kB / 1.299 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007225/1.232, allocations: 301.3 kB / 1.299 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/1.232, allocations: 27.97 kB / 1.299 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/1.233, allocations: 1.483 MB / 1.301 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.233, allocations: 8.156 kB / 1.301 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/1.239, allocations: 2.538 MB / 1.303 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.24, allocations: 445.7 kB / 1.303 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.241, allocations: 12 kB / 1.303 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.242, allocations: 95.95 kB / 1.304 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.242, allocations: 52.44 kB / 1.304 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/1.242, allocations: 35.97 kB / 1.304 GB, free: 14.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003099/1.245, allocations: 2.015 MB / 1.306 GB, free: 12.21 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.9e-07/1.245, allocations: 0 / 1.306 GB, free: 12.21 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00396/1.249, allocations: 1.251 MB / 1.307 GB, free: 10.96 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/1.251, allocations: 0.5964 MB / 1.307 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00666/1.257, allocations: 3.27 MB / 1.311 GB, free: 7.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.257, allocations: 4 kB / 1.311 GB, free: 7.062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.259, allocations: 0.637 MB / 1.311 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/1.265, allocations: 1.326 MB / 1.313 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/1.272, allocations: 4.352 MB / 1.317 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.274, allocations: 1.784 MB / 1.319 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002254/1.276, allocations: 0.5796 MB / 1.319 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/1.277, allocations: 187.4 kB / 1.319 GB, free: 14.14 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.277, allocations: 0 / 1.319 GB, free: 14.14 MB / 1.061 GB Notification: Performance of Templates: time 0.09684/1.374, allocations: 61.7 MB / 1.38 GB, free: 1.219 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches