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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.7293 GB, free: 14.58 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 67.89 kB / 1.057 GB, free: 2.062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 160.7 MB / 1.214 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.8641/1.205, allocations: 73.32 MB / 1.286 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03455/1.24, allocations: 18.86 MB / 1.304 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005268/1.245, allocations: 91.53 kB / 1.304 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006588/1.251, allocations: 1.834 MB / 1.306 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009161/1.261, allocations: 2.596 MB / 1.309 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006674/1.267, allocations: 2.159 MB / 1.311 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01895/1.286, allocations: 10.97 MB / 1.321 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009601/1.296, allocations: 5.458 MB / 1.327 GB, free: 9.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/1.305, allocations: 3.362 MB / 1.33 GB, free: 7.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007191/1.313, allocations: 2.677 MB / 1.333 GB, free: 6.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/1.314, allocations: 267.1 kB / 1.333 GB, free: 6.672 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/1.32, allocations: 1.588 MB / 1.334 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001769/1.322, allocations: 0.935 MB / 1.335 GB, free: 5.723 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005033/1.327, allocations: 1.965 MB / 1.337 GB, free: 4.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/1.338, allocations: 5.381 MB / 1.342 GB, free: 2.293 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.338, allocations: 0 / 1.342 GB, free: 2.293 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/1.338, allocations: 0 / 1.342 GB, free: 2.293 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002417/1.339, allocations: 1.625 kB / 1.342 GB, free: 2.293 MB / 1.014 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.01528/1.354, allocations: 4.392 MB / 1.347 GB, free: 15.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/1.354, allocations: 17.42 kB / 1.347 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/1.358, allocations: 0.6905 MB / 1.347 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009744/1.368, allocations: 3.841 MB / 1.351 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.368, allocations: 138.4 kB / 1.351 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/1.368, allocations: 184.4 kB / 1.351 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/1.373, allocations: 2.35 MB / 1.354 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/1.373, allocations: 14.72 kB / 1.354 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/1.374, allocations: 69.88 kB / 1.354 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/1.374, allocations: 40.44 kB / 1.354 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/1.378, allocations: 1.95 MB / 1.356 GB, free: 9.449 MB / 1.029 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.01884/1.397, allocations: 11.72 MB / 1.367 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/1.4, allocations: 1.336 MB / 1.369 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/1.402, allocations: 0.9846 MB / 1.37 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007745/1.409, allocations: 4.091 MB / 1.374 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/1.411, allocations: 0.8982 MB / 1.374 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/1.414, allocations: 488.6 kB / 1.375 GB, free: 10.4 MB / 1.045 GB Notification: Performance of pre-optimization done (n=95): time 5.751e-06/1.414, allocations: 0 / 1.375 GB, free: 10.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=95): time 0.01315/1.427, allocations: 4.523 MB / 1.379 GB, free: 7.898 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/1.427, allocations: 67.27 kB / 1.379 GB, free: 7.832 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/1.433, allocations: 3.474 MB / 1.383 GB, free: 4.688 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003983/1.433, allocations: 61.7 kB / 1.383 GB, free: 4.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.435, allocations: 1.59 MB / 1.384 GB, free: 3.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/1.435, allocations: 357 kB / 1.385 GB, free: 2.668 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.436, allocations: 487.6 kB / 1.385 GB, free: 2.184 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.436, allocations: 301.1 kB / 1.385 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.438, allocations: 0.9581 MB / 1.386 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/1.441, allocations: 1.768 MB / 1.388 GB, free: 14.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/1.445, allocations: 2.466 MB / 1.39 GB, free: 12.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.445, allocations: 4 kB / 1.39 GB, free: 12.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00794/1.453, allocations: 3.527 MB / 1.394 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.453, allocations: 41.88 kB / 1.394 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.453, allocations: 20 kB / 1.394 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/1.455, allocations: 0.692 MB / 1.395 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.457, allocations: 365.2 kB / 1.395 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.459, allocations: 1.905 MB / 1.397 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.462, allocations: 124.2 kB / 1.397 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/1.462, allocations: 104 kB / 1.397 GB, free: 5.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003416/1.466, allocations: 1.679 MB / 1.399 GB, free: 3.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002571/1.468, allocations: 1.743 MB / 1.4 GB, free: 1.457 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003895/1.472, allocations: 2.405 MB / 1.403 GB, free: 14.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.472, allocations: 4 kB / 1.403 GB, free: 14.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.006821/1.479, allocations: 3.422 MB / 1.406 GB, free: 11.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/1.479, allocations: 37.7 kB / 1.406 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.479, allocations: 16 kB / 1.406 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/1.48, allocations: 473.9 kB / 1.407 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.481, allocations: 361.2 kB / 1.407 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/1.489, allocations: 6.34 MB / 1.413 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.493, allocations: 140.9 kB / 1.413 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/1.493, allocations: 99.94 kB / 1.413 GB, free: 3.609 MB / 1.076 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 (170): * Single equations (assignments): 165 * 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.0006423/1.494, allocations: 295 kB / 1.414 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/1.494, allocations: 353.7 kB / 1.414 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005707/1.5, allocations: 2.626 MB / 1.417 GB, free: 324 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/1.5, allocations: 19.94 kB / 1.417 GB, free: 304 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.5, allocations: 0 / 1.417 GB, free: 304 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00391/1.504, allocations: 2.168 MB / 1.419 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/1.514, allocations: 4.819 MB / 1.423 GB, free: 9.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.514, allocations: 0 / 1.423 GB, free: 9.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/1.515, allocations: 185.6 kB / 1.424 GB, free: 8.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.516, allocations: 468.8 kB / 1.424 GB, free: 8.512 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.59e-05/1.516, allocations: 39.97 kB / 1.424 GB, free: 8.473 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/1.518, allocations: 1.846 MB / 1.426 GB, free: 6.574 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.518, allocations: 8.031 kB / 1.426 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/1.524, allocations: 3.381 MB / 1.429 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.526, allocations: 0.5649 MB / 1.43 GB, free: 2.566 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/1.527, allocations: 20 kB / 1.43 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.528, allocations: 79.89 kB / 1.43 GB, free: 2.469 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.528, allocations: 80.88 kB / 1.43 GB, free: 2.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.528, allocations: 43.98 kB / 1.43 GB, free: 2.348 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004034/1.532, allocations: 2.359 MB / 1.432 GB, free: 15.97 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/1.532, allocations: 3.938 kB / 1.432 GB, free: 15.97 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005388/1.538, allocations: 1.533 MB / 1.434 GB, free: 14.43 MB / 1.107 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 (79): * Single equations (assignments): 71 * 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.001641/1.54, allocations: 0.6112 MB / 1.434 GB, free: 13.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00776/1.547, allocations: 3.751 MB / 1.438 GB, free: 10.03 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.547, allocations: 4 kB / 1.438 GB, free: 10.02 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.549, allocations: 0.785 MB / 1.439 GB, free: 9.238 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007168/1.556, allocations: 1.454 MB / 1.44 GB, free: 7.805 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.569, allocations: 6.225 MB / 1.446 GB, free: 1.539 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.571, allocations: 2.229 MB / 1.448 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.572, allocations: 263.3 kB / 1.449 GB, free: 15.02 MB / 1.123 GB Notification: Performance of SimCode: time 1.352e-06/1.572, allocations: 3.938 kB / 1.449 GB, free: 15.02 MB / 1.123 GB Notification: Performance of Templates: time 0.1175/1.69, allocations: 85.82 MB / 1.533 GB, free: 9.57 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.861150889191777]