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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249/1.251, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 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.03727/1.288, allocations: 41.99 MB / 1.345 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01973/1.308, allocations: 11.2 MB / 1.356 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/1.311, allocations: 51.34 kB / 1.356 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/1.313, allocations: 439.9 kB / 1.356 GB, free: 9.863 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/1.317, allocations: 1.22 MB / 1.358 GB, free: 9.148 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/1.319, allocations: 0.7372 MB / 1.358 GB, free: 8.742 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003857/1.323, allocations: 2.068 MB / 1.36 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/1.325, allocations: 0.5592 MB / 1.361 GB, free: 7.473 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/1.328, allocations: 0.9872 MB / 1.362 GB, free: 6.996 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/1.329, allocations: 0.5903 MB / 1.362 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/1.329, allocations: 61.38 kB / 1.362 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/1.331, allocations: 0.6373 MB / 1.363 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/1.331, allocations: 190.9 kB / 1.363 GB, free: 6.379 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/1.332, allocations: 406.9 kB / 1.364 GB, free: 6.137 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/1.334, allocations: 1.262 MB / 1.365 GB, free: 5.668 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.334, allocations: 0 / 1.365 GB, free: 5.668 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.72e-07/1.334, allocations: 5.062 kB / 1.365 GB, free: 5.664 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.334, allocations: 0.8906 kB / 1.365 GB, free: 5.664 MB / 1.076 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.001911/1.336, allocations: 1.076 MB / 1.366 GB, free: 4.875 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.336, allocations: 9.844 kB / 1.366 GB, free: 4.875 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/1.336, allocations: 87.28 kB / 1.366 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/1.336, allocations: 89.78 kB / 1.366 GB, free: 4.766 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.338, allocations: 0.705 MB / 1.367 GB, free: 4.309 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/1.338, allocations: 42.31 kB / 1.367 GB, free: 4.289 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/1.338, allocations: 49.38 kB / 1.367 GB, free: 4.273 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/1.339, allocations: 0.5596 MB / 1.367 GB, free: 3.988 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.339, allocations: 1.906 kB / 1.367 GB, free: 3.988 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/1.339, allocations: 24.77 kB / 1.367 GB, free: 3.969 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/1.339, allocations: 18.06 kB / 1.367 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/1.34, allocations: 378.2 kB / 1.368 GB, free: 3.828 MB / 1.076 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.343, allocations: 2.671 MB / 1.37 GB, free: 1.777 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/1.344, allocations: 224.2 kB / 1.371 GB, free: 1.684 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/1.344, allocations: 116.9 kB / 1.371 GB, free: 1.637 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002555/1.346, allocations: 1.82 MB / 1.373 GB, free: 15.92 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.346, allocations: 32.83 kB / 1.373 GB, free: 15.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/1.346, allocations: 0 / 1.373 GB, free: 15.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007007/1.347, allocations: 330.8 kB / 1.373 GB, free: 15.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.347, allocations: 58.5 kB / 1.373 GB, free: 15.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/1.348, allocations: 0.6338 MB / 1.374 GB, free: 15.38 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/1.348, allocations: 32.42 kB / 1.374 GB, free: 15.35 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/1.348, allocations: 354.9 kB / 1.374 GB, free: 15.06 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/1.349, allocations: 76.19 kB / 1.374 GB, free: 15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.349, allocations: 81.08 kB / 1.374 GB, free: 14.96 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.349, allocations: 367.7 kB / 1.374 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.349, allocations: 96 kB / 1.374 GB, free: 14.59 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/1.349, allocations: 235.7 kB / 1.375 GB, free: 14.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/1.35, allocations: 340.6 kB / 1.375 GB, free: 14.11 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.35, allocations: 5 kB / 1.375 GB, free: 14.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007212/1.351, allocations: 408.6 kB / 1.375 GB, free: 13.92 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.351, allocations: 7.75 kB / 1.375 GB, free: 13.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.351, allocations: 4.609 kB / 1.375 GB, free: 13.92 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.351, allocations: 11.38 kB / 1.375 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/1.351, allocations: 79.06 kB / 1.376 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.351, allocations: 7.656 kB / 1.376 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/1.351, allocations: 56.33 kB / 1.376 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/1.351, allocations: 21.83 kB / 1.376 GB, free: 13.86 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.0003001/1.352, allocations: 212.3 kB / 1.376 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.352, allocations: 72.02 kB / 1.376 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/1.352, allocations: 328.5 kB / 1.376 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.353, allocations: 6.891 kB / 1.376 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.353, allocations: 0 / 1.376 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005631/1.353, allocations: 0.4943 MB / 1.377 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.355, allocations: 0.9621 MB / 1.378 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.355, allocations: 1.438 kB / 1.378 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.355, allocations: 50.5 kB / 1.378 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.355, allocations: 2.859 kB / 1.378 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.355, allocations: 9.844 kB / 1.378 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.355, allocations: 2.844 kB / 1.378 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.355, allocations: 1.594 kB / 1.378 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/1.356, allocations: 0.5421 MB / 1.378 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/1.356, allocations: 177.7 kB / 1.378 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/1.356, allocations: 3.188 kB / 1.378 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/1.356, allocations: 10.3 kB / 1.378 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/1.357, allocations: 17.66 kB / 1.378 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/1.357, allocations: 11.69 kB / 1.378 GB, free: 11.98 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006649/1.357, allocations: 465.2 kB / 1.379 GB, free: 11.77 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.357, allocations: 4.062 kB / 1.379 GB, free: 11.77 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001046/1.358, allocations: 220 kB / 1.379 GB, free: 11.72 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.001817/1.36, allocations: 1.285 MB / 1.38 GB, free: 10.78 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005903/1.361, allocations: 249.2 kB / 1.381 GB, free: 10.7 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.361, allocations: 4.188 kB / 1.381 GB, free: 10.7 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.361, allocations: 110.9 kB / 1.381 GB, free: 10.66 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.363, allocations: 436.5 kB / 1.381 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/1.37, allocations: 4.951 MB / 1.386 GB, free: 7.613 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/1.371, allocations: 0.9062 MB / 1.387 GB, free: 6.895 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008344/1.372, allocations: 138.7 kB / 1.387 GB, free: 6.852 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/1.372, allocations: 232.8 kB / 1.387 GB, free: 6.688 MB / 1.092 GB Notification: Performance of SimCode: time 1.984e-06/1.372, allocations: 4 kB / 1.387 GB, free: 6.684 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06937/1.442, allocations: 20.18 MB / 1.407 GB, free: 2.465 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/10.38, allocations: 5.094 kB / 1.407 GB, free: 2.465 MB / 1.092 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_2/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.01106471614912]