Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_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_10_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.001404/0.001404, allocations: 109.4 kB / 16.27 MB, free: 6.004 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.001263/0.001264, allocations: 187.4 kB / 17.2 MB, free: 5.617 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 / 240.9 MB, free: 15.22 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.566/2.566, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 68.69 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3132, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.5984/0.9116, allocations: 72.77 MB / 1.089 GB, free: 16.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02657/0.9382, allocations: 18.82 MB / 1.107 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004749/0.943, allocations: 92.84 kB / 1.107 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.9535, allocations: 4.251 MB / 1.112 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.962, allocations: 2.416 MB / 1.114 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006465/0.9685, allocations: 2.082 MB / 1.116 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01559/0.9841, allocations: 10.8 MB / 1.127 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008084/0.9922, allocations: 6.151 MB / 1.133 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008179/1, allocations: 3.232 MB / 1.136 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/1.006, allocations: 2.541 MB / 1.138 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001276/1.007, allocations: 258.2 kB / 1.138 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005826/1.013, allocations: 1.54 MB / 1.14 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001772/1.015, allocations: 0.8985 MB / 1.141 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005384/1.02, allocations: 1.951 MB / 1.143 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.03, allocations: 5.254 MB / 1.148 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.03, allocations: 0 / 1.148 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.03, allocations: 1.344 kB / 1.148 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002345/1.031, allocations: 0 / 1.148 GB, free: 15.05 MB / 0.8575 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.01266/1.043, allocations: 4.351 MB / 1.152 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.043, allocations: 12.97 kB / 1.152 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/1.047, allocations: 0.6769 MB / 1.153 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008401/1.056, allocations: 3.633 MB / 1.156 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/1.056, allocations: 143.5 kB / 1.156 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006664/1.057, allocations: 189 kB / 1.157 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005389/1.062, allocations: 2.355 MB / 1.159 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/1.062, allocations: 11.12 kB / 1.159 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/1.062, allocations: 68.75 kB / 1.159 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/1.062, allocations: 41.28 kB / 1.159 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/1.067, allocations: 1.915 MB / 1.161 GB, free: 6.508 MB / 0.8575 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.01793/1.085, allocations: 11.54 MB / 1.172 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/1.088, allocations: 1.344 MB / 1.174 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/1.09, allocations: 1.017 MB / 1.175 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007429/1.097, allocations: 3.727 MB / 1.178 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/1.099, allocations: 0.7741 MB / 1.179 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001975/1.101, allocations: 230.8 kB / 1.179 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=94): time 7.173e-06/1.101, allocations: 4 kB / 1.179 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94): time 0.01341/1.114, allocations: 4.265 MB / 1.183 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.114, allocations: 60.41 kB / 1.183 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007211/1.122, allocations: 3.459 MB / 1.187 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/1.122, allocations: 57.7 kB / 1.187 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.124, allocations: 1.578 MB / 1.188 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/1.124, allocations: 331.3 kB / 1.189 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.125, allocations: 467.3 kB / 1.189 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.125, allocations: 305.1 kB / 1.189 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/1.127, allocations: 0.8761 MB / 1.19 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/1.13, allocations: 1.667 MB / 1.192 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.134, allocations: 2.271 MB / 1.194 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/1.134, allocations: 8 kB / 1.194 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007942/1.142, allocations: 3.337 MB / 1.197 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/1.142, allocations: 37.7 kB / 1.197 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/1.142, allocations: 19.98 kB / 1.197 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/1.145, allocations: 0.6926 MB / 1.198 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.146, allocations: 353.2 kB / 1.198 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.148, allocations: 1.904 MB / 1.2 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.151, allocations: 120.8 kB / 1.2 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/1.152, allocations: 99.94 kB / 1.2 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003525/1.155, allocations: 1.581 MB / 1.202 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002541/1.158, allocations: 1.649 MB / 1.204 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003692/1.161, allocations: 2.21 MB / 1.206 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.201e-05/1.161, allocations: 8 kB / 1.206 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006509/1.168, allocations: 3.213 MB / 1.209 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/1.168, allocations: 44.03 kB / 1.209 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/1.168, allocations: 16 kB / 1.209 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/1.169, allocations: 481.7 kB / 1.209 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.17, allocations: 341.3 kB / 1.21 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.178, allocations: 6.344 MB / 1.216 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/1.181, allocations: 145.8 kB / 1.216 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/1.181, allocations: 87.97 kB / 1.216 GB, free: 13.81 MB / 0.92 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.0006705/1.182, allocations: 296.8 kB / 1.216 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.183, allocations: 331.9 kB / 1.217 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/1.189, allocations: 2.486 MB / 1.219 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/1.189, allocations: 16 kB / 1.219 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.189, allocations: 0 / 1.219 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003757/1.193, allocations: 2.082 MB / 1.221 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/1.203, allocations: 4.584 MB / 1.226 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.203, allocations: 0 / 1.226 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/1.204, allocations: 169.7 kB / 1.226 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.205, allocations: 481.1 kB / 1.226 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.205, allocations: 31.98 kB / 1.226 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.207, allocations: 1.858 MB / 1.228 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.207, allocations: 0 / 1.228 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.213, allocations: 3.195 MB / 1.231 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.215, allocations: 0.5318 MB / 1.232 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009656/1.216, allocations: 20 kB / 1.232 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.218, allocations: 83.83 kB / 1.232 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.218, allocations: 76.89 kB / 1.232 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.219, allocations: 47.97 kB / 1.232 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004637/1.223, allocations: 2.339 MB / 1.234 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.01e-07/1.223, allocations: 0 / 1.234 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.006202/1.229, allocations: 1.513 MB / 1.236 GB, free: 9.379 MB / 0.9356 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.001632/1.231, allocations: 0.5953 MB / 1.236 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008598/1.24, allocations: 3.981 MB / 1.24 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.24, allocations: 4 kB / 1.24 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.242, allocations: 0.7965 MB / 1.241 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0077/1.249, allocations: 1.459 MB / 1.243 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.264, allocations: 6.108 MB / 1.248 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/1.267, allocations: 2.233 MB / 1.251 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.268, allocations: 255.3 kB / 1.251 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/1.268, allocations: 0 / 1.251 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of Templates: time 0.1131/1.381, allocations: 84.33 MB / 1.333 GB, free: 5.859 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches