Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 104.4 kB / 18.05 MB, free: 4.305 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 192.4 kB / 21.18 MB, free: 1.188 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.7 MB, free: 3.398 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 489.7 MB / 0.7759 GB, free: 2.516 MB / 0.6075 GB [Timeout remaining time 87] 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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.84 kB / 1.126 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8092, allocations: 172.1 MB / 1.294 GB, free: 5.648 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.05081/0.86, allocations: 41.98 MB / 1.335 GB, free: 6.996 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.8769, allocations: 11.19 MB / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.8788, allocations: 55.31 kB / 1.346 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.8804, allocations: 444.3 kB / 1.347 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.884, allocations: 1.214 MB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.8862, allocations: 0.7468 MB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003447/0.8896, allocations: 2.08 MB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.8909, allocations: 0.5539 MB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.8938, allocations: 0.9887 MB / 1.352 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.8952, allocations: 0.5858 MB / 1.353 GB, free: 9.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.8954, allocations: 62.03 kB / 1.353 GB, free: 9.371 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.8977, allocations: 0.635 MB / 1.354 GB, free: 9.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.898, allocations: 195.3 kB / 1.354 GB, free: 8.879 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.899, allocations: 404.1 kB / 1.354 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.9017, allocations: 1.263 MB / 1.355 GB, free: 7.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9017, allocations: 0 / 1.355 GB, free: 7.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9017, allocations: 0 / 1.355 GB, free: 7.793 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.526e-05/0.9018, allocations: 1.469 kB / 1.355 GB, free: 7.793 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002555/0.9043, allocations: 1.083 MB / 1.356 GB, free: 6.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9044, allocations: 8.719 kB / 1.356 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.9047, allocations: 96.38 kB / 1.357 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.9062, allocations: 0.6911 MB / 1.357 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.9062, allocations: 42.5 kB / 1.357 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.9063, allocations: 54 kB / 1.357 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.9074, allocations: 0.559 MB / 1.358 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.9074, allocations: 3.984 kB / 1.358 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.9075, allocations: 25.62 kB / 1.358 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.9075, allocations: 13.41 kB / 1.358 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.9082, allocations: 379.3 kB / 1.358 GB, free: 5.656 MB / 1.045 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.003367/0.9116, allocations: 2.667 MB / 1.361 GB, free: 3.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.9122, allocations: 230 kB / 1.361 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.9124, allocations: 119.7 kB / 1.361 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.9146, allocations: 1.82 MB / 1.363 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.9147, allocations: 39.56 kB / 1.363 GB, free: 1.141 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.9147, allocations: 0 / 1.363 GB, free: 1.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0006479/0.9153, allocations: 324.1 kB / 1.363 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.9153, allocations: 53.84 kB / 1.363 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.9161, allocations: 0.6408 MB / 1.364 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.9162, allocations: 32.48 kB / 1.364 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.9164, allocations: 357.8 kB / 1.364 GB, free: 180 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.9165, allocations: 70.58 kB / 1.364 GB, free: 120 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.9166, allocations: 91.17 kB / 1.365 GB, free: 52 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.9168, allocations: 373.9 kB / 1.365 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.917, allocations: 84.52 kB / 1.365 GB, free: 15.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.9173, allocations: 240.3 kB / 1.365 GB, free: 15.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.9178, allocations: 339.7 kB / 1.366 GB, free: 15.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9178, allocations: 8.984 kB / 1.366 GB, free: 15.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006643/0.9184, allocations: 407 kB / 1.366 GB, free: 14.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9184, allocations: 10.22 kB / 1.366 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.9185, allocations: 5 kB / 1.366 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.9185, allocations: 6.438 kB / 1.366 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.9187, allocations: 77.14 kB / 1.366 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.9187, allocations: 10.19 kB / 1.366 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.9191, allocations: 52.03 kB / 1.366 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.9192, allocations: 23.52 kB / 1.366 GB, free: 14.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.9194, allocations: 210 kB / 1.366 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.9195, allocations: 75.02 kB / 1.366 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.9201, allocations: 338 kB / 1.367 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004956/0.9206, allocations: 481.5 kB / 1.367 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9206, allocations: 0 / 1.367 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.9209, allocations: 177.2 kB / 1.367 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.9209, allocations: 5.281 kB / 1.367 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.9212, allocations: 6.844 kB / 1.367 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.9213, allocations: 15.06 kB / 1.367 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005956/0.9219, allocations: 356.4 kB / 1.368 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007943/0.9227, allocations: 0.6201 MB / 1.368 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001766/0.9228, allocations: 100.3 kB / 1.368 GB, free: 13.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005486/0.9234, allocations: 459.7 kB / 1.369 GB, free: 12.82 MB / 1.061 GB Notification: Performance of Backend: time 1.51e-07/0.9234, allocations: 0 / 1.369 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.9248, allocations: 483.9 kB / 1.369 GB, free: 12.56 MB / 1.061 GB Notification: Performance of SimCode: time 0.002984/0.9278, allocations: 1.844 MB / 1.371 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Templates: time 0.02619/0.9539, allocations: 14.42 MB / 1.385 GB, free: 2.035 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches