Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_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_9_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.001526/0.001526, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001559/0.001559, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 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.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.08188/1.096, allocations: 72.35 MB / 1.159 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03165/1.128, allocations: 17 MB / 1.176 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006036/1.134, allocations: 89.81 kB / 1.176 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004855/1.139, allocations: 1.016 MB / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.149, allocations: 2.356 MB / 1.179 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007236/1.156, allocations: 2.09 MB / 1.181 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01418/1.17, allocations: 8.044 MB / 1.189 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009784/1.18, allocations: 6.11 MB / 1.195 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/1.191, allocations: 3.361 MB / 1.198 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006999/1.198, allocations: 2.488 MB / 1.201 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00175/1.2, allocations: 255.5 kB / 1.201 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006924/1.207, allocations: 1.379 MB / 1.202 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002248/1.21, allocations: 0.7608 MB / 1.203 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006368/1.216, allocations: 1.773 MB / 1.205 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/1.229, allocations: 4.756 MB / 1.21 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.229, allocations: 0 / 1.21 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/1.229, allocations: 0 / 1.21 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002459/1.229, allocations: 0 / 1.21 GB, free: 0.6094 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01461/1.244, allocations: 3.942 MB / 1.213 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.244, allocations: 13.53 kB / 1.213 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/1.248, allocations: 0.6288 MB / 1.214 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/1.259, allocations: 2.799 MB / 1.217 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/1.259, allocations: 139.1 kB / 1.217 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/1.26, allocations: 184 kB / 1.217 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007186/1.267, allocations: 2.357 MB / 1.219 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.381e-05/1.267, allocations: 3.938 kB / 1.219 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/1.268, allocations: 72 kB / 1.219 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/1.268, allocations: 40 kB / 1.219 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005009/1.273, allocations: 1.908 MB / 1.221 GB, free: 5.719 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.02006/1.293, allocations: 11.14 MB / 1.232 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/1.297, allocations: 1.373 MB / 1.234 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.299, allocations: 1.032 MB / 1.235 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008154/1.307, allocations: 3.67 MB / 1.238 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/1.309, allocations: 0.7975 MB / 1.239 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001927/1.311, allocations: 230.8 kB / 1.239 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=95): time 8.606e-06/1.311, allocations: 0 / 1.239 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95): time 0.01344/1.324, allocations: 4.226 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/1.324, allocations: 60.41 kB / 1.243 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/1.331, allocations: 2.884 MB / 1.246 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/1.331, allocations: 57.7 kB / 1.246 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.333, allocations: 1.414 MB / 1.248 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006484/1.334, allocations: 347.1 kB / 1.248 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.335, allocations: 355.6 kB / 1.248 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.335, allocations: 301.1 kB / 1.249 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/1.337, allocations: 0.7043 MB / 1.249 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/1.339, allocations: 1.452 MB / 1.251 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/1.343, allocations: 1.966 MB / 1.253 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/1.343, allocations: 4 kB / 1.253 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007393/1.35, allocations: 2.882 MB / 1.255 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/1.35, allocations: 41.69 kB / 1.255 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.35, allocations: 20.16 kB / 1.255 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/1.353, allocations: 0.6842 MB / 1.256 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.354, allocations: 317 kB / 1.256 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/1.357, allocations: 1.897 MB / 1.258 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.359, allocations: 100.9 kB / 1.258 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/1.36, allocations: 95.88 kB / 1.258 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003046/1.363, allocations: 1.292 MB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00212/1.365, allocations: 1.415 MB / 1.261 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003321/1.368, allocations: 1.859 MB / 1.263 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.869e-05/1.368, allocations: 7.984 kB / 1.263 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005979/1.374, allocations: 2.727 MB / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/1.374, allocations: 37.7 kB / 1.266 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/1.374, allocations: 20.84 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009873/1.375, allocations: 473.7 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.377, allocations: 297.3 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/1.385, allocations: 6.325 MB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/1.387, allocations: 133.3 kB / 1.273 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/1.388, allocations: 75.97 kB / 1.273 GB, free: 14.59 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007734/1.389, allocations: 284.2 kB / 1.273 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.39, allocations: 292.3 kB / 1.273 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006072/1.396, allocations: 2.47 MB / 1.276 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.396, allocations: 12 kB / 1.276 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.396, allocations: 3.938 kB / 1.276 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003776/1.4, allocations: 2.109 MB / 1.278 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.41, allocations: 4.434 MB / 1.282 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.41, allocations: 0 / 1.282 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/1.411, allocations: 181.3 kB / 1.282 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/1.412, allocations: 477 kB / 1.283 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.412, allocations: 39.91 kB / 1.283 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.414, allocations: 1.854 MB / 1.285 GB, free: 2.223 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.414, allocations: 0 / 1.285 GB, free: 2.223 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/1.42, allocations: 3.193 MB / 1.288 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.422, allocations: 481.2 kB / 1.288 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009582/1.423, allocations: 24 kB / 1.288 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.425, allocations: 75.84 kB / 1.288 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.425, allocations: 88.81 kB / 1.288 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.425, allocations: 39.98 kB / 1.288 GB, free: 14.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004363/1.43, allocations: 1.971 MB / 1.29 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.81e-07/1.43, allocations: 0 / 1.29 GB, free: 12.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006667/1.436, allocations: 1.345 MB / 1.292 GB, free: 10.97 MB / 1.029 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 (79): * Single equations (assignments): 71 * 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.001711/1.438, allocations: 482.1 kB / 1.292 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007248/1.445, allocations: 3.246 MB / 1.295 GB, free: 7.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.445, allocations: 5.25 kB / 1.295 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/1.447, allocations: 0.8074 MB / 1.296 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007989/1.455, allocations: 1.249 MB / 1.297 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.469, allocations: 5.22 MB / 1.302 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.472, allocations: 2.057 MB / 1.304 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.473, allocations: 219.4 kB / 1.305 GB, free: 13.61 MB / 1.045 GB Notification: Performance of SimCode: time 1.083e-06/1.473, allocations: 0 / 1.305 GB, free: 13.61 MB / 1.045 GB Notification: Performance of Templates: time 0.1083/1.581, allocations: 75.51 MB / 1.378 GB, free: 2.438 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches