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.001679/0.001679, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001919/0.001919, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.32/3.32, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="me",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.001985/0.001985, allocations: 71.5 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 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.05068/0.4213, allocations: 42.59 MB / 1.394 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.4392, allocations: 11.28 MB / 1.405 GB, free: 2.395 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.441, allocations: 67.44 kB / 1.406 GB, free: 2.328 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.4424, allocations: 445.1 kB / 1.406 GB, free: 1.891 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.4458, allocations: 1.24 MB / 1.407 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.448, allocations: 0.7682 MB / 1.408 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.4514, allocations: 2.132 MB / 1.41 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.4524, allocations: 0.5247 MB / 1.41 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.4551, allocations: 1.01 MB / 1.411 GB, free: 12.19 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.4561, allocations: 0.5833 MB / 1.412 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4563, allocations: 64 kB / 1.412 GB, free: 11.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.4578, allocations: 0.6784 MB / 1.413 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.458, allocations: 191.2 kB / 1.413 GB, free: 10.67 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.4585, allocations: 394.1 kB / 1.413 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.4604, allocations: 1.285 MB / 1.415 GB, free: 8.996 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4604, allocations: 0 / 1.415 GB, free: 8.996 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4604, allocations: 4 kB / 1.415 GB, free: 8.992 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4604, allocations: 7.938 kB / 1.415 GB, free: 8.984 MB / 1.107 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.001758/0.4622, allocations: 0.9946 MB / 1.416 GB, free: 7.957 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4622, allocations: 12.03 kB / 1.416 GB, free: 7.945 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.4623, allocations: 90.7 kB / 1.416 GB, free: 7.848 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.4626, allocations: 88.42 kB / 1.416 GB, free: 7.762 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4638, allocations: 0.644 MB / 1.416 GB, free: 7.098 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.4638, allocations: 41.12 kB / 1.416 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.4639, allocations: 51.98 kB / 1.416 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.4649, allocations: 0.5625 MB / 1.417 GB, free: 6.41 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4649, allocations: 0 / 1.417 GB, free: 6.41 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.4649, allocations: 20 kB / 1.417 GB, free: 6.391 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.465, allocations: 20 kB / 1.417 GB, free: 6.371 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.4657, allocations: 379.7 kB / 1.417 GB, free: 6 MB / 1.107 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.003296/0.469, allocations: 2.607 MB / 1.42 GB, free: 3.223 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.4695, allocations: 228.3 kB / 1.42 GB, free: 2.992 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.4698, allocations: 116.7 kB / 1.42 GB, free: 2.875 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.4716, allocations: 0.8197 MB / 1.421 GB, free: 2.035 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4716, allocations: 38.56 kB / 1.421 GB, free: 1.988 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/0.4716, allocations: 0 / 1.421 GB, free: 1.988 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.0006713/0.4723, allocations: 327.1 kB / 1.421 GB, free: 1.664 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4723, allocations: 55.34 kB / 1.421 GB, free: 1.598 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/0.4732, allocations: 0.6411 MB / 1.422 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.4732, allocations: 29.7 kB / 1.422 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.4735, allocations: 356 kB / 1.422 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.4736, allocations: 79.36 kB / 1.423 GB, free: 492 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4737, allocations: 77.64 kB / 1.423 GB, free: 408 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.474, allocations: 378.8 kB / 1.423 GB, free: 20 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4742, allocations: 84.03 kB / 1.423 GB, free: 15.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.4745, allocations: 229.9 kB / 1.423 GB, free: 15.64 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.475, allocations: 343.2 kB / 1.424 GB, free: 15.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.475, allocations: 7.938 kB / 1.424 GB, free: 15.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007102/0.4757, allocations: 401.8 kB / 1.424 GB, free: 14.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4758, allocations: 12.56 kB / 1.424 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4758, allocations: 8 kB / 1.424 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4758, allocations: 8 kB / 1.424 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4761, allocations: 83.83 kB / 1.424 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4761, allocations: 7.984 kB / 1.424 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.4764, allocations: 51.56 kB / 1.424 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.4765, allocations: 23.98 kB / 1.424 GB, free: 14.65 MB / 1.123 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.0002956/0.4767, allocations: 221.5 kB / 1.424 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4769, allocations: 71.52 kB / 1.424 GB, free: 14.35 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.4775, allocations: 339.9 kB / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.4776, allocations: 4 kB / 1.425 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4776, allocations: 0 / 1.425 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005795/0.4781, allocations: 494.6 kB / 1.425 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.4797, allocations: 0.9324 MB / 1.426 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4797, allocations: 8.062 kB / 1.426 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.4799, allocations: 47.91 kB / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4799, allocations: 0 / 1.426 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4799, allocations: 8 kB / 1.426 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4799, allocations: 4 kB / 1.426 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4799, allocations: 0 / 1.426 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.4807, allocations: 0.5573 MB / 1.427 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.4809, allocations: 103.5 kB / 1.427 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.481, allocations: 8 kB / 1.427 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.4813, allocations: 7.953 kB / 1.427 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.4813, allocations: 15.97 kB / 1.427 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.4814, allocations: 15.98 kB / 1.427 GB, free: 11.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006369/0.482, allocations: 471.1 kB / 1.427 GB, free: 11.21 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.482, allocations: 0 / 1.427 GB, free: 11.21 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000743/0.4828, allocations: 211.6 kB / 1.428 GB, free: 11 MB / 1.123 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.001603/0.4844, allocations: 1.279 MB / 1.429 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.4849, allocations: 247.6 kB / 1.429 GB, free: 9.438 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4849, allocations: 1.25 kB / 1.429 GB, free: 9.438 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.4851, allocations: 113.5 kB / 1.429 GB, free: 9.328 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.487, allocations: 430.5 kB / 1.43 GB, free: 8.918 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/0.4941, allocations: 4.968 MB / 1.434 GB, free: 3.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.4947, allocations: 0.9057 MB / 1.435 GB, free: 2.797 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005387/0.4953, allocations: 137.7 kB / 1.435 GB, free: 2.66 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.4956, allocations: 231.3 kB / 1.436 GB, free: 2.438 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/0.4956, allocations: 0 / 1.436 GB, free: 2.438 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.5581, allocations: 20.47 MB / 1.456 GB, free: 14.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.82, allocations: 11.8 kB / 1.456 GB, free: 14.23 MB / 1.154 GB " [Timeout remaining time 287] (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: 19.947584863053635]