Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.002001/0.002001, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.002922/0.002923, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.132/3.132, 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 11.0.1-master/package.mo): time 5.3/5.3, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 71.84 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895/1.898, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.1272/2.025, allocations: 72.77 MB / 1.279 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04433/2.069, allocations: 18.81 MB / 1.298 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01102/2.081, allocations: 91.5 kB / 1.298 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/2.091, allocations: 1.819 MB / 1.3 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01571/2.107, allocations: 2.518 MB / 1.302 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/2.119, allocations: 2.155 MB / 1.304 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02757/2.146, allocations: 10.96 MB / 1.315 GB, free: 200 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/2.162, allocations: 6.16 MB / 1.321 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01404/2.177, allocations: 3.352 MB / 1.324 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008798/2.185, allocations: 2.572 MB / 1.327 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002894/2.188, allocations: 271.9 kB / 1.327 GB, free: 3.758 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008989/2.197, allocations: 1.552 MB / 1.329 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002871/2.2, allocations: 0.9068 MB / 1.329 GB, free: 1.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008515/2.209, allocations: 1.959 MB / 1.331 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/2.226, allocations: 5.35 MB / 1.337 GB, free: 9.957 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/2.226, allocations: 0 / 1.337 GB, free: 9.957 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.096e-06/2.226, allocations: 0 / 1.337 GB, free: 9.957 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003245/2.226, allocations: 0 / 1.337 GB, free: 9.957 MB / 1.061 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.01954/2.246, allocations: 4.373 MB / 1.341 GB, free: 5.496 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.565e-05/2.246, allocations: 8.031 kB / 1.341 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/2.253, allocations: 0.6745 MB / 1.342 GB, free: 4.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/2.269, allocations: 3.812 MB / 1.345 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/2.269, allocations: 139.2 kB / 1.345 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/2.271, allocations: 187.9 kB / 1.346 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/2.278, allocations: 2.356 MB / 1.348 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-05/2.278, allocations: 15.94 kB / 1.348 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/2.278, allocations: 68 kB / 1.348 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/2.278, allocations: 40 kB / 1.348 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006607/2.285, allocations: 1.911 MB / 1.35 GB, free: 12.06 MB / 1.076 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.03165/2.317, allocations: 11.49 MB / 1.361 GB, free: 76 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/2.321, allocations: 1.346 MB / 1.362 GB, free: 14.72 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/2.324, allocations: 1.018 MB / 1.363 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/2.339, allocations: 3.718 MB / 1.367 GB, free: 9.711 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002285/2.342, allocations: 0.7741 MB / 1.368 GB, free: 8.926 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002502/2.344, allocations: 246.7 kB / 1.368 GB, free: 8.684 MB / 1.092 GB Notification: Performance of pre-optimization done (n=94): time 9.177e-06/2.344, allocations: 3.938 kB / 1.368 GB, free: 8.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=94): time 0.02024/2.364, allocations: 4.234 MB / 1.372 GB, free: 4.387 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/2.365, allocations: 64.41 kB / 1.372 GB, free: 4.312 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.379, allocations: 3.475 MB / 1.376 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005185/2.379, allocations: 57.7 kB / 1.376 GB, free: 0.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/2.382, allocations: 1.564 MB / 1.377 GB, free: 15.17 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007568/2.383, allocations: 339.3 kB / 1.377 GB, free: 14.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/2.384, allocations: 455.4 kB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001403/2.384, allocations: 313.1 kB / 1.378 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/2.388, allocations: 0.8605 MB / 1.379 GB, free: 13.21 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/2.392, allocations: 1.674 MB / 1.381 GB, free: 11.17 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005573/2.397, allocations: 2.259 MB / 1.383 GB, free: 8.691 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/2.397, allocations: 8 kB / 1.383 GB, free: 8.684 MB / 1.107 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.01153/2.409, allocations: 3.345 MB / 1.386 GB, free: 5.312 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/2.409, allocations: 41.7 kB / 1.386 GB, free: 5.266 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/2.409, allocations: 16 kB / 1.386 GB, free: 5.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/2.412, allocations: 0.6888 MB / 1.387 GB, free: 4.555 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/2.415, allocations: 349.3 kB / 1.387 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/2.418, allocations: 1.909 MB / 1.389 GB, free: 2.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/2.422, allocations: 124.3 kB / 1.389 GB, free: 2.129 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/2.423, allocations: 99.95 kB / 1.389 GB, free: 2.031 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004877/2.428, allocations: 1.577 MB / 1.391 GB, free: 460 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003383/2.431, allocations: 1.649 MB / 1.392 GB, free: 14.44 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005239/2.436, allocations: 2.199 MB / 1.395 GB, free: 12.02 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.338e-05/2.436, allocations: 7.938 kB / 1.395 GB, free: 12.01 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.009992/2.446, allocations: 3.223 MB / 1.398 GB, free: 8.738 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/2.446, allocations: 39.42 kB / 1.398 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/2.447, allocations: 16 kB / 1.398 GB, free: 8.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/2.448, allocations: 477.3 kB / 1.398 GB, free: 8.207 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/2.45, allocations: 337.3 kB / 1.399 GB, free: 7.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/2.463, allocations: 6.341 MB / 1.405 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004904/2.468, allocations: 140.8 kB / 1.405 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/2.468, allocations: 91.94 kB / 1.405 GB, free: 1.016 MB / 1.123 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.001261/2.47, allocations: 300.1 kB / 1.405 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.472, allocations: 335.7 kB / 1.406 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/2.482, allocations: 2.459 MB / 1.408 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006935/2.489, allocations: 2.07 MB / 1.41 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/2.489, allocations: 3.984 kB / 1.41 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.493, allocations: 0.5279 MB / 1.411 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001588/2.495, allocations: 24 kB / 1.411 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/2.498, allocations: 75.78 kB / 1.411 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/2.499, allocations: 132.7 kB / 1.411 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009055/2.508, allocations: 2.055 MB / 1.413 GB, free: 8.902 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009009/2.517, allocations: 2.632 MB / 1.415 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002155/2.519, allocations: 0.6873 MB / 1.416 GB, free: 5.566 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00861/2.528, allocations: 2.351 MB / 1.418 GB, free: 3.203 MB / 1.139 GB Notification: Performance of Backend: time 5.48e-06/2.528, allocations: 0 / 1.418 GB, free: 3.203 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.544, allocations: 3.761 MB / 1.422 GB, free: 15.4 MB / 1.154 GB Notification: Performance of SimCode: time 0.02784/2.572, allocations: 7.535 MB / 1.429 GB, free: 7.828 MB / 1.154 GB Notification: Performance of Templates: time 0.2076/2.78, allocations: 66.62 MB / 1.494 GB, free: 5.938 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches