Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.7 kB / 16.42 MB, free: 6.477 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.00143/0.00143, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.07 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.418/2.418, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8469, allocations: 151.6 MB / 1.167 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03589/0.8828, allocations: 33.2 MB / 1.2 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.902, allocations: 12.3 MB / 1.212 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.9045, allocations: 51.75 kB / 1.212 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005206/0.9097, allocations: 1.54 MB / 1.213 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.9149, allocations: 1.778 MB / 1.215 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.9189, allocations: 1.509 MB / 1.216 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.9306, allocations: 7.817 MB / 1.224 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.9341, allocations: 2.109 MB / 1.226 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.9385, allocations: 1.931 MB / 1.228 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.9413, allocations: 1.435 MB / 1.229 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005933/0.9419, allocations: 152 kB / 1.23 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.9453, allocations: 1.346 MB / 1.231 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.9463, allocations: 0.6072 MB / 1.232 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.9487, allocations: 1.193 MB / 1.233 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.9549, allocations: 3.557 MB / 1.236 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9549, allocations: 3.938 kB / 1.236 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9549, allocations: 4 kB / 1.236 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001317/0.955, allocations: 0 / 1.236 GB, free: 13.17 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006513/0.9616, allocations: 2.895 MB / 1.239 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9616, allocations: 12.88 kB / 1.239 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.9639, allocations: 446.1 kB / 1.239 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/0.9693, allocations: 2.773 MB / 1.242 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.9694, allocations: 89.98 kB / 1.242 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.9697, allocations: 108 kB / 1.242 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.9724, allocations: 1.315 MB / 1.244 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.9724, allocations: 7.938 kB / 1.244 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.9726, allocations: 40 kB / 1.244 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.9726, allocations: 24 kB / 1.244 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.975, allocations: 1.026 MB / 1.245 GB, free: 4.219 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.009074/0.984, allocations: 6.915 MB / 1.251 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.9855, allocations: 0.5921 MB / 1.252 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007905/0.9863, allocations: 397.8 kB / 1.252 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/0.9892, allocations: 1.774 MB / 1.254 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007887/0.99, allocations: 367 kB / 1.254 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005859/0.9906, allocations: 95.36 kB / 1.255 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 5.29e-06/0.9906, allocations: 0 / 1.255 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.003757/0.9943, allocations: 1.385 MB / 1.256 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.9944, allocations: 55.41 kB / 1.256 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/0.9979, allocations: 2.392 MB / 1.258 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.998, allocations: 41.7 kB / 1.258 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.9989, allocations: 0.9974 MB / 1.259 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.999, allocations: 170.6 kB / 1.259 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.9995, allocations: 294.7 kB / 1.26 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9996, allocations: 361.9 kB / 1.26 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/1.001, allocations: 0.4979 MB / 1.261 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.002, allocations: 0.9931 MB / 1.262 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/1.004, allocations: 1.335 MB / 1.263 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.004, allocations: 4 kB / 1.263 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003408/1.007, allocations: 1.812 MB / 1.265 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/1.007, allocations: 41.64 kB / 1.265 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.007, allocations: 16.03 kB / 1.265 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/1.008, allocations: 185.9 kB / 1.265 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/1.009, allocations: 227.6 kB / 1.265 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006958/1.01, allocations: 0.7644 MB / 1.266 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.011, allocations: 76.02 kB / 1.266 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.011, allocations: 55.98 kB / 1.266 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001706/1.013, allocations: 1.018 MB / 1.267 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001277/1.014, allocations: 0.9655 MB / 1.268 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001973/1.016, allocations: 1.299 MB / 1.269 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.475e-05/1.016, allocations: 4 kB / 1.269 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00321/1.019, allocations: 1.807 MB / 1.271 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.019, allocations: 44.5 kB / 1.271 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.019, allocations: 16.03 kB / 1.271 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/1.02, allocations: 120.8 kB / 1.271 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/1.02, allocations: 223.6 kB / 1.271 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.023, allocations: 2.341 MB / 1.274 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.024, allocations: 76.52 kB / 1.274 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.024, allocations: 55.98 kB / 1.274 GB, free: 4.797 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003095/1.024, allocations: 252 kB / 1.274 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/1.025, allocations: 226.4 kB / 1.274 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/1.027, allocations: 1.025 MB / 1.275 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/1.029, allocations: 0.97 MB / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.029, allocations: 0 / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000687/1.03, allocations: 367.5 kB / 1.277 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/1.03, allocations: 12 kB / 1.277 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/1.031, allocations: 47.91 kB / 1.277 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.031, allocations: 48.36 kB / 1.277 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00218/1.033, allocations: 0.8789 MB / 1.277 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002391/1.036, allocations: 1.33 MB / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00065/1.036, allocations: 303.2 kB / 1.279 GB, free: 15.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002636/1.039, allocations: 1.631 MB / 1.281 GB, free: 13.57 MB / 1.014 GB Notification: Performance of Backend: time 4.41e-07/1.039, allocations: 0 / 1.281 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005354/1.044, allocations: 2.33 MB / 1.283 GB, free: 11.22 MB / 1.014 GB Notification: Performance of SimCode: time 0.008873/1.053, allocations: 4.875 MB / 1.288 GB, free: 6.301 MB / 1.014 GB Notification: Performance of Templates: time 0.07127/1.125, allocations: 43.45 MB / 1.33 GB, free: 11.32 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches