Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006051/0.006051, allocations: 97.38 kB / 15.73 MB, free: 6.035 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.001292/0.001292, allocations: 204 kB / 16.68 MB, free: 5.961 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.315, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07125/0.3863, allocations: 72.78 MB / 1.238 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7872/1.173, allocations: 18.8 MB / 1.256 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/1.178, allocations: 93.41 kB / 1.256 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006632/1.185, allocations: 1.818 MB / 1.258 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008937/1.194, allocations: 2.517 MB / 1.26 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006545/1.201, allocations: 2.153 MB / 1.262 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02013/1.221, allocations: 10.95 MB / 1.273 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/1.231, allocations: 6.161 MB / 1.279 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/1.242, allocations: 3.285 MB / 1.282 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008412/1.251, allocations: 2.574 MB / 1.285 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002017/1.253, allocations: 265.6 kB / 1.285 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007897/1.261, allocations: 1.55 MB / 1.287 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00249/1.263, allocations: 0.9029 MB / 1.288 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006762/1.27, allocations: 1.962 MB / 1.289 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01518/1.285, allocations: 5.382 MB / 1.295 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.285, allocations: 0 / 1.295 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.534e-06/1.285, allocations: 4 kB / 1.295 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002678/1.286, allocations: 0.8438 kB / 1.295 GB, free: 8.867 MB / 0.9981 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.01593/1.302, allocations: 4.496 MB / 1.299 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.302, allocations: 17.55 kB / 1.299 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/1.305, allocations: 0.6947 MB / 1.3 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009523/1.315, allocations: 3.844 MB / 1.304 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/1.315, allocations: 140.9 kB / 1.304 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005771/1.316, allocations: 185.5 kB / 1.304 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/1.32, allocations: 2.364 MB / 1.306 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/1.32, allocations: 9.906 kB / 1.306 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/1.321, allocations: 65.94 kB / 1.306 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/1.321, allocations: 40.59 kB / 1.306 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/1.325, allocations: 1.91 MB / 1.308 GB, free: 2.184 MB / 0.9981 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.01903/1.344, allocations: 11.5 MB / 1.319 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/1.347, allocations: 1.338 MB / 1.321 GB, free: 9.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/1.349, allocations: 1.02 MB / 1.322 GB, free: 9.379 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008503/1.358, allocations: 3.73 MB / 1.325 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/1.359, allocations: 0.7762 MB / 1.326 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002159/1.362, allocations: 243.5 kB / 1.326 GB, free: 5.852 MB / 1.014 GB Notification: Performance of pre-optimization done (n=94): time 5.35e-06/1.362, allocations: 0 / 1.326 GB, free: 5.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=94): time 0.0134/1.375, allocations: 4.258 MB / 1.33 GB, free: 3.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/1.375, allocations: 64.36 kB / 1.331 GB, free: 3.473 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/1.383, allocations: 3.473 MB / 1.334 GB, free: 1.656 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000524/1.384, allocations: 58.7 kB / 1.334 GB, free: 1.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/1.386, allocations: 1.581 MB / 1.336 GB, free: 240 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/1.386, allocations: 364.5 kB / 1.336 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/1.387, allocations: 457.4 kB / 1.336 GB, free: 15.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.387, allocations: 307.6 kB / 1.337 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.389, allocations: 0.8656 MB / 1.337 GB, free: 14.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/1.391, allocations: 1.674 MB / 1.339 GB, free: 13.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.395, allocations: 2.269 MB / 1.341 GB, free: 11.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.395, allocations: 2.688 kB / 1.341 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007514/1.402, allocations: 3.358 MB / 1.345 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/1.402, allocations: 39.52 kB / 1.345 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/1.402, allocations: 13.84 kB / 1.345 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/1.405, allocations: 0.6927 MB / 1.345 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.406, allocations: 356.8 kB / 1.346 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/1.408, allocations: 1.911 MB / 1.348 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/1.412, allocations: 119.5 kB / 1.348 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/1.412, allocations: 95.42 kB / 1.348 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004474/1.416, allocations: 1.591 MB / 1.349 GB, free: 7.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002585/1.419, allocations: 1.638 MB / 1.351 GB, free: 5.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003838/1.423, allocations: 2.204 MB / 1.353 GB, free: 2.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.427e-05/1.423, allocations: 4 kB / 1.353 GB, free: 2.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.007296/1.43, allocations: 3.234 MB / 1.356 GB, free: 15.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/1.43, allocations: 45.69 kB / 1.356 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/1.43, allocations: 16 kB / 1.356 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.431, allocations: 473.5 kB / 1.357 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.433, allocations: 349.1 kB / 1.357 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/1.441, allocations: 6.33 MB / 1.363 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/1.445, allocations: 144.9 kB / 1.363 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.445, allocations: 91.95 kB / 1.363 GB, free: 7.77 MB / 1.045 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.001121/1.446, allocations: 292.9 kB / 1.364 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/1.448, allocations: 349.6 kB / 1.364 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/1.455, allocations: 2.466 MB / 1.366 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/1.455, allocations: 15.94 kB / 1.366 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.455, allocations: 0 / 1.366 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004125/1.459, allocations: 2.081 MB / 1.369 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.474, allocations: 4.58 MB / 1.373 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/1.474, allocations: 0 / 1.373 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/1.475, allocations: 173.6 kB / 1.373 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/1.476, allocations: 478.2 kB / 1.374 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.476, allocations: 31.97 kB / 1.374 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/1.478, allocations: 1.854 MB / 1.375 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.478, allocations: 0 / 1.375 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/1.485, allocations: 3.205 MB / 1.379 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002341/1.487, allocations: 0.5493 MB / 1.379 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.489, allocations: 28 kB / 1.379 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.491, allocations: 83.81 kB / 1.379 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/1.491, allocations: 76.89 kB / 1.379 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.491, allocations: 47.97 kB / 1.379 GB, free: 7.277 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.006515/1.498, allocations: 2.351 MB / 1.382 GB, free: 4.914 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.498, allocations: 0 / 1.382 GB, free: 4.914 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.009205/1.507, allocations: 1.517 MB / 1.383 GB, free: 3.395 MB / 1.061 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.0026/1.51, allocations: 0.6147 MB / 1.384 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.009255/1.519, allocations: 3.726 MB / 1.387 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.519, allocations: 4 kB / 1.387 GB, free: 15.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/1.521, allocations: 0.7993 MB / 1.388 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009834/1.531, allocations: 1.459 MB / 1.39 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.547, allocations: 6.032 MB / 1.395 GB, free: 6.734 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003374/1.55, allocations: 2.245 MB / 1.398 GB, free: 4.461 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004593/1.555, allocations: 0.8267 MB / 1.398 GB, free: 3.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.556, allocations: 243.3 kB / 1.399 GB, free: 3.391 MB / 1.076 GB Notification: Performance of SimCode: time 1.693e-06/1.556, allocations: 0 / 1.399 GB, free: 3.391 MB / 1.076 GB Notification: Performance of Templates: time 0.1031/1.659, allocations: 60.77 MB / 1.458 GB, free: 7.617 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches