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.001553/0.001553, allocations: 102.7 kB / 18.19 MB, free: 3.879 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.001586/0.001586, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.391/1.391, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.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.965/2.965, allocations: 489.7 MB / 0.7761 GB, free: 33.56 MB / 0.6231 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.001861/0.001861, allocations: 65.75 kB / 1.127 GB, free: 37.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3448, allocations: 172.1 MB / 1.295 GB, free: 11.91 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.04718/0.392, allocations: 41.98 MB / 1.336 GB, free: 1.773 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4083, allocations: 11.19 MB / 1.347 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.4101, allocations: 51.69 kB / 1.347 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4114, allocations: 437.1 kB / 1.347 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.4147, allocations: 1.221 MB / 1.348 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.4167, allocations: 0.7477 MB / 1.349 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.4195, allocations: 2.081 MB / 1.351 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.4204, allocations: 0.5516 MB / 1.352 GB, free: 1.438 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.4228, allocations: 0.9937 MB / 1.353 GB, free: 452 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008965/0.4237, allocations: 0.5952 MB / 1.353 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4238, allocations: 60 kB / 1.353 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.4253, allocations: 0.6394 MB / 1.354 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.4256, allocations: 183.2 kB / 1.354 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.4261, allocations: 410.1 kB / 1.355 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.428, allocations: 1.253 MB / 1.356 GB, free: 13.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4281, allocations: 7.922 kB / 1.356 GB, free: 13.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4281, allocations: 0 / 1.356 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.4281, allocations: 0 / 1.356 GB, free: 13.3 MB / 1.061 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.001823/0.4299, allocations: 1.088 MB / 1.357 GB, free: 12.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4299, allocations: 11.97 kB / 1.357 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.4302, allocations: 88.42 kB / 1.357 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4314, allocations: 0.7007 MB / 1.358 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.4314, allocations: 37.38 kB / 1.358 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.4315, allocations: 51.94 kB / 1.358 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/0.4325, allocations: 0.5664 MB / 1.358 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4325, allocations: 3.938 kB / 1.358 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.4326, allocations: 20 kB / 1.358 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4326, allocations: 12 kB / 1.358 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.4333, allocations: 379.7 kB / 1.359 GB, free: 10.23 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.003352/0.4367, allocations: 2.668 MB / 1.361 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.4372, allocations: 230.6 kB / 1.361 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.4375, allocations: 116.7 kB / 1.362 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.4399, allocations: 1.811 MB / 1.363 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.4399, allocations: 30.56 kB / 1.363 GB, free: 4.914 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.4399, allocations: 0 / 1.363 GB, free: 4.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0006923/0.4406, allocations: 325 kB / 1.364 GB, free: 4.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.4406, allocations: 59.34 kB / 1.364 GB, free: 4.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.4414, allocations: 0.641 MB / 1.364 GB, free: 3.867 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4415, allocations: 25.7 kB / 1.364 GB, free: 3.836 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.4418, allocations: 360 kB / 1.365 GB, free: 3.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.4419, allocations: 87.34 kB / 1.365 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.442, allocations: 77.59 kB / 1.365 GB, free: 3.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4422, allocations: 374.8 kB / 1.365 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4424, allocations: 83.95 kB / 1.365 GB, free: 2.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.4427, allocations: 237.7 kB / 1.366 GB, free: 2.559 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.4432, allocations: 348.7 kB / 1.366 GB, free: 2.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4432, allocations: 0 / 1.366 GB, free: 2.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006814/0.4439, allocations: 405 kB / 1.366 GB, free: 1.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4439, allocations: 8 kB / 1.366 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4439, allocations: 4 kB / 1.366 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.444, allocations: 15.92 kB / 1.366 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.4442, allocations: 75.84 kB / 1.366 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.4442, allocations: 11.94 kB / 1.366 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4446, allocations: 51.61 kB / 1.366 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.4446, allocations: 20 kB / 1.366 GB, free: 1.57 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.0002761/0.4449, allocations: 217.9 kB / 1.367 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.445, allocations: 71.52 kB / 1.367 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.4456, allocations: 331.9 kB / 1.367 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4456, allocations: 4 kB / 1.367 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4457, allocations: 0 / 1.367 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005462/0.4462, allocations: 490.1 kB / 1.368 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.4477, allocations: 0.9643 MB / 1.368 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.4477, allocations: 7.938 kB / 1.368 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.4479, allocations: 39.92 kB / 1.369 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.4479, allocations: 4 kB / 1.369 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4479, allocations: 7.984 kB / 1.369 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4479, allocations: 4 kB / 1.369 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4479, allocations: 0 / 1.369 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.4487, allocations: 0.5496 MB / 1.369 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.449, allocations: 176.6 kB / 1.369 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.4491, allocations: 8 kB / 1.369 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.4493, allocations: 8 kB / 1.369 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4494, allocations: 20.03 kB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.4494, allocations: 12 kB / 1.369 GB, free: 14.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005849/0.45, allocations: 471 kB / 1.37 GB, free: 14.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.45, allocations: 3.938 kB / 1.37 GB, free: 14.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007586/0.4508, allocations: 215.5 kB / 1.37 GB, free: 13.81 MB / 1.076 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.0006669/0.4514, allocations: 305.1 kB / 1.37 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.452, allocations: 247.4 kB / 1.37 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.452, allocations: 1.25 kB / 1.37 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4522, allocations: 110.4 kB / 1.371 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4539, allocations: 445.2 kB / 1.371 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4558, allocations: 1.126 MB / 1.372 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.4564, allocations: 0.9057 MB / 1.373 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.4566, allocations: 59.42 kB / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/0.4566, allocations: 0 / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of Templates: time 0.01954/0.4761, allocations: 11.87 MB / 1.385 GB, free: 14.8 MB / 1.092 GB [Timeout remaining time 300] 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