Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example3.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006817/0.006817, allocations: 97.08 kB / 15.73 MB, free: 5.988 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.001403/0.001403, allocations: 188 kB / 16.67 MB, free: 5.918 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3544, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.7675/1.122, allocations: 33.25 MB / 1.253 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01553/1.137, allocations: 12.33 MB / 1.265 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/1.139, allocations: 49.53 kB / 1.265 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004623/1.144, allocations: 1.556 MB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/1.148, allocations: 1.782 MB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/1.152, allocations: 1.51 MB / 1.27 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01445/1.166, allocations: 7.808 MB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.169, allocations: 1.816 MB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/1.173, allocations: 1.949 MB / 1.281 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/1.175, allocations: 1.432 MB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/1.175, allocations: 151.2 kB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/1.178, allocations: 1.351 MB / 1.284 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006194/1.179, allocations: 0.6189 MB / 1.285 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/1.18, allocations: 1.199 MB / 1.286 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006109/1.186, allocations: 3.554 MB / 1.289 GB, free: 15.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.186, allocations: 0 / 1.289 GB, free: 15.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/1.186, allocations: 0 / 1.289 GB, free: 15.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.528e-05/1.186, allocations: 1.938 kB / 1.289 GB, free: 15.21 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005755/1.192, allocations: 2.9 MB / 1.292 GB, free: 13.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.192, allocations: 11.25 kB / 1.292 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.194, allocations: 442.8 kB / 1.293 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/1.199, allocations: 2.779 MB / 1.295 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/1.199, allocations: 80.86 kB / 1.295 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.2, allocations: 114.6 kB / 1.295 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/1.202, allocations: 1.319 MB / 1.297 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.202, allocations: 5.344 kB / 1.297 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.202, allocations: 39.03 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/1.202, allocations: 24.44 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/1.205, allocations: 1.02 MB / 1.298 GB, free: 10.77 MB / 1.014 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.008525/1.213, allocations: 6.917 MB / 1.305 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.214, allocations: 0.5517 MB / 1.305 GB, free: 5.504 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/1.215, allocations: 360.2 kB / 1.305 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002855/1.218, allocations: 1.773 MB / 1.307 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008676/1.219, allocations: 369.1 kB / 1.308 GB, free: 3.984 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004154/1.219, allocations: 92.98 kB / 1.308 GB, free: 3.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/1.219, allocations: 0 / 1.308 GB, free: 3.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.003857/1.223, allocations: 1.363 MB / 1.309 GB, free: 3.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.223, allocations: 57.52 kB / 1.309 GB, free: 3.348 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.226, allocations: 2.388 MB / 1.311 GB, free: 2.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/1.227, allocations: 44.14 kB / 1.311 GB, free: 2.441 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/1.227, allocations: 1.002 MB / 1.312 GB, free: 1.664 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.228, allocations: 171.2 kB / 1.313 GB, free: 1.535 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.228, allocations: 301.7 kB / 1.313 GB, free: 1.402 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.228, allocations: 368.8 kB / 1.313 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/1.229, allocations: 0.4968 MB / 1.314 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.231, allocations: 0.9894 MB / 1.315 GB, free: 96 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/1.233, allocations: 1.342 MB / 1.316 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.233, allocations: 2.594 kB / 1.316 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003774/1.237, allocations: 1.805 MB / 1.318 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/1.237, allocations: 43.5 kB / 1.318 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.237, allocations: 11.75 kB / 1.318 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/1.238, allocations: 194.7 kB / 1.318 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/1.238, allocations: 227.9 kB / 1.318 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007702/1.239, allocations: 0.7641 MB / 1.319 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.241, allocations: 69.59 kB / 1.319 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/1.241, allocations: 56 kB / 1.319 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/1.242, allocations: 1.018 MB / 1.32 GB, free: 13.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001173/1.244, allocations: 0.969 MB / 1.321 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001879/1.245, allocations: 1.311 MB / 1.322 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.563e-06/1.245, allocations: 3.75 kB / 1.322 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003064/1.249, allocations: 1.794 MB / 1.324 GB, free: 10.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.249, allocations: 40.66 kB / 1.324 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.249, allocations: 12.77 kB / 1.324 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/1.249, allocations: 123.1 kB / 1.324 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/1.25, allocations: 221.5 kB / 1.324 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.252, allocations: 2.342 MB / 1.327 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.253, allocations: 84.11 kB / 1.327 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/1.254, allocations: 55.75 kB / 1.327 GB, free: 8.918 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005136/1.254, allocations: 256.8 kB / 1.327 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/1.254, allocations: 222.9 kB / 1.327 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/1.257, allocations: 1.031 MB / 1.328 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.257, allocations: 4.844 kB / 1.328 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/1.257, allocations: 0 / 1.328 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001809/1.259, allocations: 0.9551 MB / 1.329 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/1.263, allocations: 2.311 MB / 1.331 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.263, allocations: 1.25 kB / 1.331 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/1.263, allocations: 96.91 kB / 1.332 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/1.264, allocations: 117.4 kB / 1.332 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/1.264, allocations: 17.42 kB / 1.332 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/1.264, allocations: 0.7363 MB / 1.332 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.264, allocations: 1.188 kB / 1.332 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/1.267, allocations: 1.407 MB / 1.334 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/1.268, allocations: 367.7 kB / 1.334 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/1.268, allocations: 19.34 kB / 1.334 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.269, allocations: 47.67 kB / 1.334 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.269, allocations: 38.03 kB / 1.334 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/1.269, allocations: 22.64 kB / 1.334 GB, free: 4.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002754/1.272, allocations: 1.634 MB / 1.336 GB, free: 3.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.272, allocations: 3.938 kB / 1.336 GB, free: 3.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003241/1.275, allocations: 0.9503 MB / 1.337 GB, free: 3.215 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/1.277, allocations: 0.5216 MB / 1.337 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00356/1.28, allocations: 1.871 MB / 1.339 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.28, allocations: 1.406 kB / 1.339 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007651/1.281, allocations: 322.2 kB / 1.339 GB, free: 1.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.285, allocations: 0.9765 MB / 1.34 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/1.293, allocations: 3.713 MB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.294, allocations: 1.671 MB / 1.346 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002047/1.296, allocations: 0.5467 MB / 1.346 GB, free: 13.78 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/1.297, allocations: 166.1 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of SimCode: time 1.192e-06/1.297, allocations: 0 / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of Templates: time 0.06743/1.364, allocations: 39.87 MB / 1.385 GB, free: 10.11 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches