Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368/1.37, allocations: 176.1 MB / 1.321 GB, free: 24.8 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.04673/1.417, allocations: 42.18 MB / 1.363 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02286/1.44, allocations: 11.2 MB / 1.374 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/1.443, allocations: 74.31 kB / 1.374 GB, free: 2.551 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/1.446, allocations: 440.5 kB / 1.374 GB, free: 2.285 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/1.451, allocations: 1.221 MB / 1.375 GB, free: 1.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/1.454, allocations: 0.7272 MB / 1.376 GB, free: 1.168 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004302/1.458, allocations: 2.07 MB / 1.378 GB, free: 184 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/1.459, allocations: 0.5603 MB / 1.379 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/1.463, allocations: 0.9937 MB / 1.38 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/1.464, allocations: 0.5938 MB / 1.38 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.464, allocations: 62.94 kB / 1.38 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/1.466, allocations: 0.6513 MB / 1.381 GB, free: 14.92 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/1.467, allocations: 190.2 kB / 1.381 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006362/1.467, allocations: 402 kB / 1.381 GB, free: 14.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/1.47, allocations: 1.289 MB / 1.383 GB, free: 14.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.47, allocations: 0 / 1.383 GB, free: 14.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.667e-06/1.47, allocations: 0.75 kB / 1.383 GB, free: 14.09 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.309e-05/1.47, allocations: 1.312 kB / 1.383 GB, free: 14.09 MB / 1.092 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.00243/1.473, allocations: 1.079 MB / 1.384 GB, free: 13.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/1.473, allocations: 15.16 kB / 1.384 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.95e-05/1.473, allocations: 17 kB / 1.384 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/1.473, allocations: 96.64 kB / 1.384 GB, free: 13.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/1.473, allocations: 87.55 kB / 1.384 GB, free: 13.17 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.475, allocations: 0.7022 MB / 1.385 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/1.475, allocations: 46.19 kB / 1.385 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.475, allocations: 49.66 kB / 1.385 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/1.476, allocations: 0.5592 MB / 1.385 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/1.476, allocations: 1.344 kB / 1.385 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/1.476, allocations: 21.02 kB / 1.385 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/1.476, allocations: 14.16 kB / 1.385 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/1.477, allocations: 377 kB / 1.386 GB, free: 12.24 MB / 1.092 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.004444/1.481, allocations: 2.68 MB / 1.388 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/1.482, allocations: 232.1 kB / 1.388 GB, free: 10.08 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/1.482, allocations: 111.9 kB / 1.389 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003039/1.485, allocations: 1.809 MB / 1.39 GB, free: 8.328 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.486, allocations: 33.28 kB / 1.39 GB, free: 8.289 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/1.486, allocations: 0 / 1.39 GB, free: 8.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0008193/1.486, allocations: 328.7 kB / 1.391 GB, free: 8.145 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.486, allocations: 58.06 kB / 1.391 GB, free: 8.078 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.487, allocations: 0.6366 MB / 1.391 GB, free: 7.797 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/1.487, allocations: 30.8 kB / 1.391 GB, free: 7.762 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/1.488, allocations: 367.1 kB / 1.392 GB, free: 7.465 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/1.488, allocations: 73.31 kB / 1.392 GB, free: 7.41 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/1.488, allocations: 79.78 kB / 1.392 GB, free: 7.363 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002729/1.488, allocations: 374.2 kB / 1.392 GB, free: 7.023 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.489, allocations: 89.39 kB / 1.392 GB, free: 6.992 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/1.489, allocations: 228.6 kB / 1.393 GB, free: 6.789 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/1.49, allocations: 352.9 kB / 1.393 GB, free: 6.508 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.49, allocations: 1.062 kB / 1.393 GB, free: 6.508 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008027/1.49, allocations: 406.3 kB / 1.393 GB, free: 6.328 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.49, allocations: 10.11 kB / 1.393 GB, free: 6.328 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.49, allocations: 8.781 kB / 1.393 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/1.49, allocations: 6.094 kB / 1.393 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/1.491, allocations: 78.91 kB / 1.393 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.491, allocations: 8.312 kB / 1.393 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/1.491, allocations: 52.56 kB / 1.393 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.491, allocations: 20.97 kB / 1.393 GB, free: 6.273 MB / 1.092 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.0003087/1.491, allocations: 217.9 kB / 1.394 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.492, allocations: 72.41 kB / 1.394 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/1.492, allocations: 327.2 kB / 1.394 GB, free: 5.91 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.492, allocations: 3.984 kB / 1.394 GB, free: 5.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.492, allocations: 0 / 1.394 GB, free: 5.91 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006198/1.493, allocations: 494 kB / 1.394 GB, free: 5.492 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.495, allocations: 0.9629 MB / 1.395 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.495, allocations: 1.219 kB / 1.395 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/1.495, allocations: 39.38 kB / 1.395 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.495, allocations: 5.969 kB / 1.395 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/1.495, allocations: 13.84 kB / 1.395 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.495, allocations: 6.75 kB / 1.395 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.495, allocations: 1.625 kB / 1.395 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/1.496, allocations: 0.5393 MB / 1.396 GB, free: 4.555 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/1.496, allocations: 181.3 kB / 1.396 GB, free: 4.398 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.227e-05/1.496, allocations: 7.75 kB / 1.396 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/1.497, allocations: 13.62 kB / 1.396 GB, free: 4.387 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/1.497, allocations: 17.39 kB / 1.396 GB, free: 4.383 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/1.497, allocations: 16.64 kB / 1.396 GB, free: 4.379 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007362/1.497, allocations: 465.1 kB / 1.397 GB, free: 4.176 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.497, allocations: 0 / 1.397 GB, free: 4.176 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001017/1.498, allocations: 220.1 kB / 1.397 GB, free: 4.125 MB / 1.092 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.001933/1.5, allocations: 1.265 MB / 1.398 GB, free: 3.199 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006888/1.501, allocations: 252.6 kB / 1.398 GB, free: 3.117 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.501, allocations: 0 / 1.398 GB, free: 3.117 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/1.501, allocations: 110.9 kB / 1.398 GB, free: 3.082 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.503, allocations: 436.1 kB / 1.399 GB, free: 2.957 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008885/1.512, allocations: 4.956 MB / 1.404 GB, free: 20 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007974/1.513, allocations: 0.9132 MB / 1.405 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008982/1.514, allocations: 132 kB / 1.405 GB, free: 15.26 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/1.514, allocations: 235.8 kB / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of SimCode: time 1.212e-06/1.514, allocations: 0 / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/1.578, allocations: 20.15 MB / 1.425 GB, free: 8.375 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.738/11.32, allocations: 9.562 kB / 1.425 GB, free: 8.367 MB / 1.107 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Validation_Tanks.fmu > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.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: 18.687344027974177]