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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007349/0.007349, allocations: 95.78 kB / 15.73 MB, free: 6.027 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.001468/0.001468, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.05 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3148, allocations: 159.9 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.6657/0.9806, allocations: 72.78 MB / 1.297 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02813/1.009, allocations: 18.81 MB / 1.315 GB, free: 4.664 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00609/1.015, allocations: 94.75 kB / 1.315 GB, free: 4.629 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005996/1.021, allocations: 1.811 MB / 1.317 GB, free: 3.781 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008465/1.029, allocations: 2.522 MB / 1.319 GB, free: 2.305 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006115/1.036, allocations: 2.154 MB / 1.321 GB, free: 1.191 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02156/1.057, allocations: 10.96 MB / 1.332 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/1.068, allocations: 6.163 MB / 1.338 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/1.078, allocations: 3.284 MB / 1.341 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/1.084, allocations: 2.562 MB / 1.344 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001689/1.086, allocations: 269.8 kB / 1.344 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006146/1.092, allocations: 1.562 MB / 1.346 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001908/1.094, allocations: 0.9035 MB / 1.347 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005334/1.099, allocations: 1.957 MB / 1.348 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.11, allocations: 5.385 MB / 1.354 GB, free: 1.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.11, allocations: 3.938 kB / 1.354 GB, free: 1.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.164e-06/1.11, allocations: 0.7812 kB / 1.354 GB, free: 1.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002235/1.11, allocations: 0 / 1.354 GB, free: 1.508 MB / 1.045 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.01312/1.124, allocations: 4.506 MB / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.124, allocations: 9.125 kB / 1.358 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/1.128, allocations: 0.6913 MB / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009554/1.137, allocations: 3.842 MB / 1.363 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/1.137, allocations: 141.1 kB / 1.363 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007652/1.138, allocations: 188.8 kB / 1.363 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/1.144, allocations: 2.356 MB / 1.365 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/1.144, allocations: 7.75 kB / 1.365 GB, free: 9.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/1.144, allocations: 65.5 kB / 1.365 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/1.144, allocations: 40.78 kB / 1.365 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/1.148, allocations: 1.911 MB / 1.367 GB, free: 8.641 MB / 1.061 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.01648/1.165, allocations: 11.53 MB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.168, allocations: 1.34 MB / 1.38 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.169, allocations: 1.023 MB / 1.381 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006957/1.176, allocations: 3.72 MB / 1.384 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/1.178, allocations: 0.7739 MB / 1.385 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001883/1.18, allocations: 255 kB / 1.385 GB, free: 9.805 MB / 1.076 GB Notification: Performance of pre-optimization done (n=94): time 5.039e-06/1.18, allocations: 0 / 1.385 GB, free: 9.805 MB / 1.076 GB Notification: Performance of matching and sorting (n=94): time 0.01222/1.192, allocations: 4.248 MB / 1.389 GB, free: 5.508 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.192, allocations: 64.41 kB / 1.39 GB, free: 5.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0064/1.199, allocations: 3.475 MB / 1.393 GB, free: 1.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000258/1.199, allocations: 57.7 kB / 1.393 GB, free: 1.867 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.2, allocations: 1.582 MB / 1.395 GB, free: 276 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/1.201, allocations: 361.2 kB / 1.395 GB, free: 15.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008537/1.202, allocations: 455.7 kB / 1.395 GB, free: 15.46 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/1.202, allocations: 301.1 kB / 1.396 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.204, allocations: 0.8722 MB / 1.396 GB, free: 14.29 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/1.206, allocations: 1.674 MB / 1.398 GB, free: 12.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/1.209, allocations: 2.263 MB / 1.4 GB, free: 9.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/1.209, allocations: 4 kB / 1.4 GB, free: 9.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007071/1.217, allocations: 3.363 MB / 1.404 GB, free: 6.379 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/1.217, allocations: 39.27 kB / 1.404 GB, free: 6.336 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/1.217, allocations: 19.94 kB / 1.404 GB, free: 6.316 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.219, allocations: 0.6919 MB / 1.404 GB, free: 5.617 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.22, allocations: 357 kB / 1.405 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/1.222, allocations: 1.901 MB / 1.407 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.225, allocations: 124.7 kB / 1.407 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/1.226, allocations: 91.95 kB / 1.407 GB, free: 3.105 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00302/1.229, allocations: 1.586 MB / 1.408 GB, free: 1.516 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00206/1.231, allocations: 1.641 MB / 1.41 GB, free: 15.51 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003525/1.234, allocations: 2.206 MB / 1.412 GB, free: 13.08 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.618e-05/1.234, allocations: 8 kB / 1.412 GB, free: 13.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006054/1.24, allocations: 3.238 MB / 1.415 GB, free: 9.785 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.24, allocations: 37.7 kB / 1.415 GB, free: 9.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.24, allocations: 16.91 kB / 1.415 GB, free: 9.727 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009853/1.241, allocations: 477.3 kB / 1.416 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.243, allocations: 353.3 kB / 1.416 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006989/1.25, allocations: 6.335 MB / 1.422 GB, free: 2.277 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/1.253, allocations: 144.9 kB / 1.422 GB, free: 2.137 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/1.253, allocations: 87.97 kB / 1.422 GB, free: 2.051 MB / 1.107 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.0005244/1.253, allocations: 296.1 kB / 1.423 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009819/1.254, allocations: 349.7 kB / 1.423 GB, free: 1.41 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/1.26, allocations: 2.459 MB / 1.425 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.26, allocations: 23.92 kB / 1.425 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.26, allocations: 0 / 1.425 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003515/1.263, allocations: 2.078 MB / 1.428 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009869/1.273, allocations: 4.581 MB / 1.432 GB, free: 8.098 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.273, allocations: 3.938 kB / 1.432 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/1.274, allocations: 181.4 kB / 1.432 GB, free: 7.918 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.275, allocations: 481.1 kB / 1.433 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/1.275, allocations: 27.98 kB / 1.433 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/1.277, allocations: 1.85 MB / 1.434 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.277, allocations: 0 / 1.434 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/1.283, allocations: 3.208 MB / 1.438 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.285, allocations: 0.5454 MB / 1.438 GB, free: 1.703 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.286, allocations: 20 kB / 1.438 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.288, allocations: 83.89 kB / 1.438 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.288, allocations: 76.89 kB / 1.438 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.288, allocations: 47.91 kB / 1.438 GB, free: 1.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004682/1.293, allocations: 2.355 MB / 1.441 GB, free: 15.11 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.293, allocations: 3.938 kB / 1.441 GB, free: 15.11 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.006145/1.299, allocations: 1.513 MB / 1.442 GB, free: 13.59 MB / 1.139 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.001882/1.301, allocations: 0.6012 MB / 1.443 GB, free: 12.99 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007281/1.308, allocations: 3.722 MB / 1.446 GB, free: 9.223 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.308, allocations: 4 kB / 1.446 GB, free: 9.219 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.31, allocations: 0.8044 MB / 1.447 GB, free: 8.418 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007755/1.318, allocations: 1.447 MB / 1.449 GB, free: 6.992 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.33, allocations: 6.037 MB / 1.454 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/1.333, allocations: 2.237 MB / 1.457 GB, free: 14.65 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003409/1.336, allocations: 0.8383 MB / 1.457 GB, free: 13.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/1.337, allocations: 243.3 kB / 1.458 GB, free: 13.57 MB / 1.154 GB Notification: Performance of SimCode: time 9.62e-07/1.337, allocations: 0 / 1.458 GB, free: 13.57 MB / 1.154 GB Notification: Performance of Templates: time 0.1017/1.439, allocations: 60.77 MB / 1.517 GB, free: 1.578 MB / 1.201 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches