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) 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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 103.5 kB / 15.78 MB, free: 6.012 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.001712/0.001712, allocations: 192.6 kB / 16.72 MB, free: 5.867 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.523/1.523, allocations: 225.6 MB / 243.1 MB, free: 3.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 489.3 MB / 0.7669 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.88 kB / 1.115 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258/1.26, allocations: 172 MB / 1.283 GB, free: 5.652 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.05434/1.314, allocations: 41.92 MB / 1.324 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01964/1.334, allocations: 11.19 MB / 1.334 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/1.337, allocations: 51.25 kB / 1.335 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/1.338, allocations: 440 kB / 1.335 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004127/1.342, allocations: 1.211 MB / 1.336 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/1.345, allocations: 0.7401 MB / 1.337 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004112/1.349, allocations: 2.079 MB / 1.339 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/1.35, allocations: 0.5495 MB / 1.339 GB, free: 11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/1.354, allocations: 0.9979 MB / 1.34 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/1.355, allocations: 0.585 MB / 1.341 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/1.355, allocations: 66.12 kB / 1.341 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/1.357, allocations: 0.6428 MB / 1.342 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/1.357, allocations: 187.8 kB / 1.342 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/1.358, allocations: 406.6 kB / 1.342 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/1.361, allocations: 1.253 MB / 1.343 GB, free: 8.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.361, allocations: 0.9688 kB / 1.343 GB, free: 8.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/1.361, allocations: 0 / 1.343 GB, free: 8.445 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.361, allocations: 0 / 1.343 GB, free: 8.445 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.00257/1.363, allocations: 1.092 MB / 1.345 GB, free: 7.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.363, allocations: 13.2 kB / 1.345 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/1.364, allocations: 88.52 kB / 1.345 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.365, allocations: 0.6984 MB / 1.345 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.365, allocations: 42.55 kB / 1.345 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.365, allocations: 53.69 kB / 1.345 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.367, allocations: 0.5595 MB / 1.346 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.367, allocations: 0 / 1.346 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/1.367, allocations: 22.16 kB / 1.346 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/1.367, allocations: 12.97 kB / 1.346 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/1.367, allocations: 383.1 kB / 1.346 GB, free: 6.301 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.003722/1.371, allocations: 2.667 MB / 1.349 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/1.372, allocations: 230 kB / 1.349 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/1.372, allocations: 115.7 kB / 1.349 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003304/1.375, allocations: 1.812 MB / 1.351 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/1.375, allocations: 36.75 kB / 1.351 GB, free: 1.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 3.556e-06/1.375, allocations: 0 / 1.351 GB, free: 1.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009204/1.376, allocations: 319.7 kB / 1.351 GB, free: 1.633 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/1.376, allocations: 57.88 kB / 1.351 GB, free: 1.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.378, allocations: 0.6414 MB / 1.352 GB, free: 1.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/1.378, allocations: 35.2 kB / 1.352 GB, free: 1.148 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/1.378, allocations: 359.3 kB / 1.352 GB, free: 0.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/1.378, allocations: 81.81 kB / 1.353 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.378, allocations: 75.95 kB / 1.353 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.379, allocations: 372.5 kB / 1.353 GB, free: 360 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.379, allocations: 89.11 kB / 1.353 GB, free: 316 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/1.379, allocations: 236.8 kB / 1.353 GB, free: 80 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/1.38, allocations: 350.1 kB / 1.354 GB, free: 15.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.38, allocations: 1.312 kB / 1.354 GB, free: 15.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008748/1.381, allocations: 408 kB / 1.354 GB, free: 15.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.381, allocations: 7.719 kB / 1.354 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.381, allocations: 4.875 kB / 1.354 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.381, allocations: 6.688 kB / 1.354 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.381, allocations: 76.73 kB / 1.354 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.381, allocations: 10.22 kB / 1.354 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/1.382, allocations: 51.34 kB / 1.354 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.382, allocations: 27.73 kB / 1.354 GB, free: 15.5 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.0004027/1.382, allocations: 206.4 kB / 1.354 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/1.382, allocations: 74.84 kB / 1.354 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000787/1.383, allocations: 339 kB / 1.355 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.383, allocations: 2.25 kB / 1.355 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.383, allocations: 0.8438 kB / 1.355 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006416/1.384, allocations: 489.1 kB / 1.355 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/1.386, allocations: 0.9626 MB / 1.356 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.386, allocations: 5.125 kB / 1.356 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/1.386, allocations: 44.03 kB / 1.356 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.386, allocations: 2.625 kB / 1.356 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/1.386, allocations: 10.61 kB / 1.356 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.386, allocations: 2.719 kB / 1.356 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.386, allocations: 1.438 kB / 1.356 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/1.387, allocations: 0.5471 MB / 1.357 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/1.387, allocations: 177.8 kB / 1.357 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/1.387, allocations: 10.55 kB / 1.357 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/1.387, allocations: 12.03 kB / 1.357 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.387, allocations: 11.83 kB / 1.357 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.387, allocations: 16.83 kB / 1.357 GB, free: 13.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006903/1.388, allocations: 473.6 kB / 1.357 GB, free: 13 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.388, allocations: 0 / 1.357 GB, free: 13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009445/1.389, allocations: 211.6 kB / 1.358 GB, free: 12.96 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007506/1.39, allocations: 305.1 kB / 1.358 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005851/1.39, allocations: 253.4 kB / 1.358 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.39, allocations: 1.156 kB / 1.358 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/1.391, allocations: 112.3 kB / 1.358 GB, free: 12.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.393, allocations: 442 kB / 1.359 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/1.395, allocations: 1.096 MB / 1.36 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.396, allocations: 0.9033 MB / 1.361 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000565/1.397, allocations: 130.4 kB / 1.361 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.397, allocations: 57.45 kB / 1.361 GB, free: 10.77 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/1.397, allocations: 0 / 1.361 GB, free: 10.77 MB / 1.061 GB Notification: Performance of Templates: time 0.03209/1.429, allocations: 14.17 MB / 1.375 GB, free: 1.738 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches