Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001254/0.001254, allocations: 189.8 kB / 17.2 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 469.8 MB / 0.743 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 76.81 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.6274/0.9621, allocations: 72.77 MB / 1.136 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.9947, allocations: 18.81 MB / 1.154 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.9996, allocations: 91.69 kB / 1.154 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.01, allocations: 4.246 MB / 1.158 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008952/1.019, allocations: 2.421 MB / 1.161 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006335/1.026, allocations: 2.08 MB / 1.163 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01611/1.042, allocations: 10.82 MB / 1.173 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009036/1.051, allocations: 6.131 MB / 1.179 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008129/1.059, allocations: 3.243 MB / 1.182 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005515/1.065, allocations: 2.54 MB / 1.185 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008499/1.065, allocations: 259 kB / 1.185 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/1.07, allocations: 1.537 MB / 1.187 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/1.071, allocations: 0.9023 MB / 1.188 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003539/1.075, allocations: 1.951 MB / 1.189 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008662/1.084, allocations: 5.25 MB / 1.195 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.084, allocations: 0 / 1.195 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.324e-06/1.084, allocations: 1.625 kB / 1.195 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.476e-05/1.084, allocations: 4 kB / 1.195 GB, free: 3.898 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.00846/1.092, allocations: 4.349 MB / 1.199 GB, free: 15.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.092, allocations: 12.03 kB / 1.199 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/1.095, allocations: 0.6744 MB / 1.199 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006776/1.102, allocations: 3.629 MB / 1.203 GB, free: 11.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.102, allocations: 143.8 kB / 1.203 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/1.103, allocations: 191.9 kB / 1.203 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/1.107, allocations: 2.359 MB / 1.206 GB, free: 8.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/1.107, allocations: 7.938 kB / 1.206 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/1.107, allocations: 72 kB / 1.206 GB, free: 8.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/1.107, allocations: 40 kB / 1.206 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/1.111, allocations: 1.911 MB / 1.208 GB, free: 6.215 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.01807/1.129, allocations: 11.55 MB / 1.219 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/1.133, allocations: 1.346 MB / 1.22 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.134, allocations: 1.013 MB / 1.221 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007439/1.142, allocations: 3.714 MB / 1.225 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/1.144, allocations: 0.778 MB / 1.226 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001574/1.145, allocations: 242.7 kB / 1.226 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/1.145, allocations: 0 / 1.226 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94): time 0.01341/1.159, allocations: 4.243 MB / 1.23 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.159, allocations: 68.34 kB / 1.23 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006624/1.165, allocations: 3.451 MB / 1.233 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003848/1.166, allocations: 57.7 kB / 1.233 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.168, allocations: 1.578 MB / 1.235 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/1.168, allocations: 335.3 kB / 1.235 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008088/1.169, allocations: 459.4 kB / 1.236 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.169, allocations: 305.1 kB / 1.236 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/1.171, allocations: 0.8722 MB / 1.237 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/1.174, allocations: 1.678 MB / 1.239 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.178, allocations: 2.267 MB / 1.241 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/1.178, allocations: 8 kB / 1.241 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007753/1.186, allocations: 3.353 MB / 1.244 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/1.186, allocations: 41.69 kB / 1.244 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.186, allocations: 16.88 kB / 1.244 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/1.189, allocations: 0.6921 MB / 1.245 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.19, allocations: 353.3 kB / 1.245 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.192, allocations: 1.908 MB / 1.247 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.195, allocations: 129.6 kB / 1.247 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/1.195, allocations: 95.94 kB / 1.247 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003113/1.198, allocations: 1.585 MB / 1.249 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002395/1.201, allocations: 1.637 MB / 1.25 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003748/1.205, allocations: 2.21 MB / 1.252 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-05/1.205, allocations: 4 kB / 1.252 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006342/1.211, allocations: 3.236 MB / 1.256 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/1.211, allocations: 37.7 kB / 1.256 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.211, allocations: 16 kB / 1.256 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/1.212, allocations: 478 kB / 1.256 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.213, allocations: 349.3 kB / 1.256 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/1.222, allocations: 6.321 MB / 1.263 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/1.224, allocations: 145.3 kB / 1.263 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/1.224, allocations: 87.97 kB / 1.263 GB, free: 11.09 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005613/1.225, allocations: 311.8 kB / 1.263 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.226, allocations: 327.8 kB / 1.263 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/1.231, allocations: 2.482 MB / 1.266 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.231, allocations: 12 kB / 1.266 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.231, allocations: 3.938 kB / 1.266 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00396/1.235, allocations: 2.074 MB / 1.268 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008726/1.244, allocations: 4.584 MB / 1.272 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.244, allocations: 4 kB / 1.272 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/1.245, allocations: 173.7 kB / 1.273 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/1.246, allocations: 489 kB / 1.273 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/1.246, allocations: 35.97 kB / 1.273 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.248, allocations: 1.842 MB / 1.275 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.248, allocations: 0 / 1.275 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006736/1.255, allocations: 3.195 MB / 1.278 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.257, allocations: 0.524 MB / 1.279 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/1.257, allocations: 24 kB / 1.279 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.258, allocations: 79.89 kB / 1.279 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.259, allocations: 76.89 kB / 1.279 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.259, allocations: 43.97 kB / 1.279 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004/1.263, allocations: 2.343 MB / 1.281 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.61e-07/1.263, allocations: 0 / 1.281 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004576/1.267, allocations: 1.513 MB / 1.283 GB, free: 6.66 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/1.269, allocations: 0.6068 MB / 1.283 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008365/1.277, allocations: 3.972 MB / 1.287 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.277, allocations: 3.938 kB / 1.287 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.279, allocations: 0.7966 MB / 1.288 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006422/1.285, allocations: 1.456 MB / 1.289 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.298, allocations: 6.12 MB / 1.295 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/1.3, allocations: 2.237 MB / 1.297 GB, free: 7.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009464/1.301, allocations: 255.3 kB / 1.298 GB, free: 7.137 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.301, allocations: 0 / 1.298 GB, free: 7.137 MB / 1.014 GB Notification: Performance of Templates: time 0.1212/1.422, allocations: 84.31 MB / 1.38 GB, free: 3.156 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches