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.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.001529/0.001529, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001639/0.001639, allocations: 215 kB / 20.13 MB, free: 2.949 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_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.001934/0.001934, allocations: 67.91 kB / 1.165 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.04488/1.158, allocations: 42.19 MB / 1.381 GB, free: 2.141 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01964/1.177, allocations: 11.2 MB / 1.392 GB, free: 10.11 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/1.18, allocations: 71.09 kB / 1.392 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/1.182, allocations: 438.3 kB / 1.393 GB, free: 9.805 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/1.186, allocations: 1.218 MB / 1.394 GB, free: 9.09 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/1.189, allocations: 0.7374 MB / 1.395 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003726/1.192, allocations: 2.067 MB / 1.397 GB, free: 7.695 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/1.193, allocations: 0.5523 MB / 1.397 GB, free: 7.426 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/1.196, allocations: 0.9961 MB / 1.398 GB, free: 6.953 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/1.198, allocations: 0.5863 MB / 1.399 GB, free: 6.695 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/1.198, allocations: 61.03 kB / 1.399 GB, free: 6.695 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/1.2, allocations: 0.6595 MB / 1.399 GB, free: 6.445 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/1.2, allocations: 186.7 kB / 1.4 GB, free: 6.332 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/1.201, allocations: 402.3 kB / 1.4 GB, free: 6.094 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/1.203, allocations: 1.296 MB / 1.401 GB, free: 5.609 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.203, allocations: 2 kB / 1.401 GB, free: 5.609 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.422e-06/1.203, allocations: 0 / 1.401 GB, free: 5.609 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.203, allocations: 0 / 1.401 GB, free: 5.609 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.002178/1.205, allocations: 1.076 MB / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.205, allocations: 10.06 kB / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.355e-05/1.205, allocations: 13.72 kB / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/1.206, allocations: 95.61 kB / 1.402 GB, free: 4.742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/1.206, allocations: 96.84 kB / 1.403 GB, free: 4.691 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.207, allocations: 0.6981 MB / 1.403 GB, free: 4.242 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/1.207, allocations: 45.34 kB / 1.403 GB, free: 4.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/1.207, allocations: 53.34 kB / 1.403 GB, free: 4.199 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.208, allocations: 0.5558 MB / 1.404 GB, free: 3.918 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/1.208, allocations: 5.094 kB / 1.404 GB, free: 3.914 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/1.208, allocations: 21.25 kB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/1.208, allocations: 14.25 kB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/1.209, allocations: 385.1 kB / 1.404 GB, free: 3.754 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.003525/1.213, allocations: 2.669 MB / 1.407 GB, free: 1.707 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/1.213, allocations: 237 kB / 1.407 GB, free: 1.602 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/1.214, allocations: 111.8 kB / 1.407 GB, free: 1.559 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0027/1.216, allocations: 1.808 MB / 1.409 GB, free: 15.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.216, allocations: 41.38 kB / 1.409 GB, free: 15.8 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/1.216, allocations: 0 / 1.409 GB, free: 15.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.0007997/1.217, allocations: 321.5 kB / 1.409 GB, free: 15.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.217, allocations: 53.62 kB / 1.409 GB, free: 15.6 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.218, allocations: 0.6391 MB / 1.41 GB, free: 15.32 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/1.218, allocations: 30.86 kB / 1.41 GB, free: 15.29 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/1.219, allocations: 359.6 kB / 1.41 GB, free: 15 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.219, allocations: 76.3 kB / 1.41 GB, free: 14.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/1.219, allocations: 84.83 kB / 1.411 GB, free: 14.89 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.219, allocations: 369.2 kB / 1.411 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.219, allocations: 85.7 kB / 1.411 GB, free: 14.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/1.22, allocations: 239.8 kB / 1.411 GB, free: 14.31 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/1.22, allocations: 349.9 kB / 1.412 GB, free: 14.03 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.22, allocations: 1 kB / 1.412 GB, free: 14.03 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00075/1.221, allocations: 409 kB / 1.412 GB, free: 13.85 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.221, allocations: 7.188 kB / 1.412 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/1.221, allocations: 4.953 kB / 1.412 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.221, allocations: 11.52 kB / 1.412 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.221, allocations: 73.16 kB / 1.412 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.221, allocations: 12.88 kB / 1.412 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/1.222, allocations: 55.8 kB / 1.412 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/1.222, allocations: 17.83 kB / 1.412 GB, free: 13.79 MB / 1.107 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.0002776/1.222, allocations: 217.6 kB / 1.412 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.222, allocations: 70.98 kB / 1.412 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/1.223, allocations: 340.3 kB / 1.413 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.223, allocations: 4.375 kB / 1.413 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.223, allocations: 0.5625 kB / 1.413 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000558/1.223, allocations: 485.8 kB / 1.413 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.225, allocations: 0.9641 MB / 1.414 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.225, allocations: 2.141 kB / 1.414 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/1.225, allocations: 46.06 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.225, allocations: 2.906 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.225, allocations: 4.812 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.225, allocations: 2.516 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.225, allocations: 5.281 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/1.226, allocations: 0.5433 MB / 1.415 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/1.226, allocations: 177 kB / 1.415 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/1.226, allocations: 7.344 kB / 1.415 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.227, allocations: 13.3 kB / 1.415 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/1.227, allocations: 23.17 kB / 1.415 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.227, allocations: 10.66 kB / 1.415 GB, free: 11.91 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006547/1.227, allocations: 465.5 kB / 1.415 GB, free: 11.71 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.227, allocations: 5.5 kB / 1.415 GB, free: 11.7 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009196/1.228, allocations: 219.1 kB / 1.416 GB, free: 11.65 MB / 1.107 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.001741/1.23, allocations: 1.27 MB / 1.417 GB, free: 10.72 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006151/1.231, allocations: 245.1 kB / 1.417 GB, free: 10.64 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.231, allocations: 5.922 kB / 1.417 GB, free: 10.64 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/1.231, allocations: 111.9 kB / 1.417 GB, free: 10.6 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.233, allocations: 431 kB / 1.418 GB, free: 10.48 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/1.24, allocations: 4.959 MB / 1.422 GB, free: 7.316 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/1.241, allocations: 0.9076 MB / 1.423 GB, free: 6.516 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006332/1.242, allocations: 133.4 kB / 1.423 GB, free: 6.449 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.242, allocations: 229.5 kB / 1.424 GB, free: 6.266 MB / 1.107 GB Notification: Performance of SimCode: time 8.62e-07/1.242, allocations: 0.9688 kB / 1.424 GB, free: 6.266 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/1.297, allocations: 20.17 MB / 1.443 GB, free: 12.36 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/10.34, allocations: 5.109 kB / 1.443 GB, free: 12.36 MB / 1.123 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Tanks.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 840.0] 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 [Calling sys.exit(0), Time elapsed: 17.162461725994945]