Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 109 kB / 16.42 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.001065/0.001065, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 68.12 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7649, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03651/0.8015, allocations: 30.07 MB / 1.197 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.8199, allocations: 11.71 MB / 1.208 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.8221, allocations: 47.75 kB / 1.208 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.8269, allocations: 1.504 MB / 1.21 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.8316, allocations: 1.654 MB / 1.211 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.8357, allocations: 1.479 MB / 1.213 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.8458, allocations: 6.732 MB / 1.219 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.8483, allocations: 1.392 MB / 1.221 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.852, allocations: 1.518 MB / 1.222 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.8542, allocations: 1.12 MB / 1.223 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004909/0.8547, allocations: 128 kB / 1.223 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.8581, allocations: 1.31 MB / 1.225 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008436/0.859, allocations: 0.5256 MB / 1.225 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.8608, allocations: 0.9716 MB / 1.226 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.8652, allocations: 3.049 MB / 1.229 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8652, allocations: 0 / 1.229 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8653, allocations: 0 / 1.229 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.8653, allocations: 3.938 kB / 1.229 GB, free: 4.441 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003977/0.8693, allocations: 2.366 MB / 1.231 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8693, allocations: 8.031 kB / 1.231 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.8711, allocations: 381.2 kB / 1.232 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.875, allocations: 2.399 MB / 1.234 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.8751, allocations: 65.98 kB / 1.234 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.8752, allocations: 88 kB / 1.234 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.877, allocations: 1.009 MB / 1.235 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.8771, allocations: 0 / 1.235 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.8772, allocations: 35.94 kB / 1.235 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.8772, allocations: 20 kB / 1.235 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.8789, allocations: 0.7454 MB / 1.236 GB, free: 13.16 MB / 0.9669 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.0065/0.8854, allocations: 5.254 MB / 1.241 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.8867, allocations: 0.565 MB / 1.242 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.8874, allocations: 318.8 kB / 1.242 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/0.8898, allocations: 1.658 MB / 1.244 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007684/0.8906, allocations: 326.7 kB / 1.244 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000315/0.8909, allocations: 59.36 kB / 1.244 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.8909, allocations: 0 / 1.244 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.0033/0.8943, allocations: 1.23 MB / 1.245 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.8943, allocations: 59.39 kB / 1.245 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.8967, allocations: 1.869 MB / 1.247 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.8968, allocations: 41.7 kB / 1.247 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.8974, allocations: 0.7792 MB / 1.248 GB, free: 412 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.8976, allocations: 157.9 kB / 1.248 GB, free: 252 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.898, allocations: 262.4 kB / 1.248 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8981, allocations: 357.9 kB / 1.249 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/0.899, allocations: 460.8 kB / 1.249 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.9001, allocations: 0.8276 MB / 1.25 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.9019, allocations: 1.165 MB / 1.251 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.902, allocations: 0 / 1.251 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003076/0.905, allocations: 1.596 MB / 1.252 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.9051, allocations: 37.69 kB / 1.253 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.9051, allocations: 8 kB / 1.253 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.9058, allocations: 197.1 kB / 1.253 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.9066, allocations: 191.7 kB / 1.253 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/0.9074, allocations: 0.7784 MB / 1.254 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9085, allocations: 67.95 kB / 1.254 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.9086, allocations: 47.98 kB / 1.254 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/0.91, allocations: 0.8613 MB / 1.255 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.9111, allocations: 0.8184 MB / 1.255 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001637/0.9128, allocations: 1.132 MB / 1.257 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.9128, allocations: 4 kB / 1.257 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002744/0.9155, allocations: 1.58 MB / 1.258 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.9156, allocations: 33.7 kB / 1.258 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.9156, allocations: 8 kB / 1.258 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.9158, allocations: 109.3 kB / 1.258 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.9165, allocations: 195.7 kB / 1.258 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.9187, allocations: 2.358 MB / 1.261 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.9199, allocations: 72.52 kB / 1.261 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.92, allocations: 43.98 kB / 1.261 GB, free: 2.25 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.9203, allocations: 240.1 kB / 1.261 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.9206, allocations: 173.9 kB / 1.261 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.9228, allocations: 0.9081 MB / 1.262 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001512/0.9243, allocations: 0.8921 MB / 1.263 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9243, allocations: 4 kB / 1.263 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.925, allocations: 302.9 kB / 1.263 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.9253, allocations: 12 kB / 1.263 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.9261, allocations: 43.89 kB / 1.263 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.9262, allocations: 44.36 kB / 1.263 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002007/0.9282, allocations: 0.828 MB / 1.264 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002191/0.9304, allocations: 1.178 MB / 1.265 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005891/0.931, allocations: 271.3 kB / 1.266 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002074/0.9331, allocations: 1.269 MB / 1.267 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of Backend: time 7.91e-07/0.9331, allocations: 0 / 1.267 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005246/0.9384, allocations: 2.198 MB / 1.269 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of SimCode: time 0.007204/0.9456, allocations: 3.962 MB / 1.273 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Templates: time 0.06012/1.006, allocations: 36.84 MB / 1.309 GB, free: 1.254 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches