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.001446/0.001446, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001667/0.001668, allocations: 181.7 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 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.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7596, allocations: 140.4 MB / 1.089 GB, free: 5.539 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.07265/0.8323, allocations: 72.35 MB / 1.159 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.8581, allocations: 17.01 MB / 1.176 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/0.863, allocations: 93.91 kB / 1.176 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.8666, allocations: 1.009 MB / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007779/0.8744, allocations: 2.425 MB / 1.179 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00572/0.8801, allocations: 2.087 MB / 1.181 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.8906, allocations: 8.058 MB / 1.189 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.898, allocations: 6.115 MB / 1.195 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007732/0.9058, allocations: 3.359 MB / 1.198 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/0.9106, allocations: 2.488 MB / 1.201 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.9117, allocations: 254.7 kB / 1.201 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.9164, allocations: 1.375 MB / 1.203 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.9179, allocations: 0.7688 MB / 1.203 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00437/0.9223, allocations: 1.765 MB / 1.205 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007947/0.9302, allocations: 4.755 MB / 1.21 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9303, allocations: 5.375 kB / 1.21 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9303, allocations: 0 / 1.21 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.9304, allocations: 0 / 1.21 GB, free: 0.5586 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.007391/0.9377, allocations: 3.942 MB / 1.213 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.9378, allocations: 8.531 kB / 1.213 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.9407, allocations: 0.6388 MB / 1.214 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/0.9461, allocations: 2.795 MB / 1.217 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.306e-05/0.9463, allocations: 139.1 kB / 1.217 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.9465, allocations: 184 kB / 1.217 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.9502, allocations: 2.353 MB / 1.219 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.9503, allocations: 7.938 kB / 1.219 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.9504, allocations: 68 kB / 1.22 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.9505, allocations: 43.98 kB / 1.22 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.9539, allocations: 1.908 MB / 1.221 GB, free: 5.621 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.01342/0.9673, allocations: 11.14 MB / 1.232 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.97, allocations: 1.379 MB / 1.234 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.9716, allocations: 1.025 MB / 1.235 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006016/0.9777, allocations: 3.674 MB / 1.238 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.9791, allocations: 0.7975 MB / 1.239 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001253/0.9804, allocations: 230.8 kB / 1.239 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=95): time 3.367e-06/0.9804, allocations: 0 / 1.239 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95): time 0.01163/0.992, allocations: 4.219 MB / 1.243 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.9921, allocations: 72.34 kB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.9959, allocations: 2.884 MB / 1.246 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.9961, allocations: 53.7 kB / 1.246 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.9973, allocations: 1.418 MB / 1.248 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.9976, allocations: 343.1 kB / 1.248 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.9981, allocations: 359.6 kB / 1.248 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.9982, allocations: 301.1 kB / 1.249 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.9995, allocations: 0.7043 MB / 1.249 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/1.001, allocations: 1.444 MB / 1.251 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/1.004, allocations: 1.966 MB / 1.253 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.004, allocations: 7.938 kB / 1.253 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006145/1.011, allocations: 2.875 MB / 1.255 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/1.011, allocations: 45.62 kB / 1.256 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/1.011, allocations: 16 kB / 1.256 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/1.013, allocations: 0.6922 MB / 1.256 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.014, allocations: 309.1 kB / 1.256 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/1.016, allocations: 1.901 MB / 1.258 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.018, allocations: 104.9 kB / 1.258 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.018, allocations: 87.94 kB / 1.259 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002427/1.021, allocations: 1.3 MB / 1.26 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001883/1.023, allocations: 1.411 MB / 1.261 GB, free: 11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003178/1.026, allocations: 1.859 MB / 1.263 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-05/1.026, allocations: 4 kB / 1.263 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005683/1.032, allocations: 2.731 MB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/1.032, allocations: 41.7 kB / 1.266 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.032, allocations: 16 kB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000894/1.033, allocations: 470.3 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.034, allocations: 301.3 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/1.041, allocations: 6.335 MB / 1.273 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/1.043, allocations: 125.4 kB / 1.273 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.043, allocations: 87.84 kB / 1.273 GB, free: 14.48 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.0004836/1.044, allocations: 286.8 kB / 1.273 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/1.044, allocations: 288.3 kB / 1.273 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/1.05, allocations: 2.474 MB / 1.276 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/1.054, allocations: 2.09 MB / 1.278 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.054, allocations: 3.984 kB / 1.278 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/1.056, allocations: 489 kB / 1.278 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009363/1.056, allocations: 23.94 kB / 1.278 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.058, allocations: 83.78 kB / 1.278 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.058, allocations: 120.8 kB / 1.279 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004733/1.063, allocations: 2.079 MB / 1.281 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004752/1.068, allocations: 2.649 MB / 1.283 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001285/1.069, allocations: 0.7029 MB / 1.284 GB, free: 3.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003478/1.073, allocations: 1.967 MB / 1.286 GB, free: 1.105 MB / 1.014 GB Notification: Performance of Backend: time 6.21e-07/1.073, allocations: 4 kB / 1.286 GB, free: 1.102 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00834/1.081, allocations: 3.121 MB / 1.289 GB, free: 13.94 MB / 1.029 GB Notification: Performance of SimCode: time 0.01303/1.094, allocations: 6.717 MB / 1.295 GB, free: 7.184 MB / 1.029 GB Notification: Performance of Templates: time 0.09703/1.191, allocations: 58.83 MB / 1.353 GB, free: 13.04 MB / 1.092 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