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.0008894/0.0008894, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008359/0.0008359, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8596/0.8596, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.673/1.673, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.177e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.02528/0.0253, allocations: 38.27 MB / 1.018 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.03576, allocations: 10.38 MB / 1.028 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.03719, allocations: 71.38 kB / 1.029 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.03826, allocations: 440.9 kB / 1.029 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.0407, allocations: 1.258 MB / 1.03 GB, free: 32 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.04228, allocations: 0.7878 MB / 1.031 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.0445, allocations: 2.108 MB / 1.033 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.04534, allocations: 0.5247 MB / 1.033 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.04765, allocations: 1.269 MB / 1.035 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.04836, allocations: 0.4945 MB / 1.035 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.04843, allocations: 64 kB / 1.035 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009221/0.04935, allocations: 0.5182 MB / 1.036 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.04949, allocations: 199.1 kB / 1.036 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.04971, allocations: 271.4 kB / 1.036 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.05101, allocations: 1.274 MB / 1.037 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.05102, allocations: 0 / 1.037 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.05102, allocations: 0 / 1.037 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.05103, allocations: 0 / 1.037 GB, free: 8.5 MB / 0.9948 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.001211/0.05224, allocations: 1.002 MB / 1.038 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.05229, allocations: 8.031 kB / 1.038 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.05237, allocations: 94.7 kB / 1.039 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.05253, allocations: 88.42 kB / 1.039 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.05347, allocations: 0.6317 MB / 1.039 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.05349, allocations: 41.31 kB / 1.039 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.05355, allocations: 48.38 kB / 1.039 GB, free: 6.531 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.05417, allocations: 0.6379 MB / 1.04 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.05419, allocations: 0 / 1.04 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.05422, allocations: 27.98 kB / 1.04 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.05424, allocations: 15.98 kB / 1.04 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.05467, allocations: 379.7 kB / 1.04 GB, free: 5.426 MB / 0.9948 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.001912/0.05658, allocations: 2.078 MB / 1.042 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.05696, allocations: 225.4 kB / 1.043 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.05707, allocations: 112.8 kB / 1.043 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009186/0.05799, allocations: 0.7534 MB / 1.043 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.05801, allocations: 38.5 kB / 1.043 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.364e-06/0.05802, allocations: 7.984 kB / 1.044 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0004194/0.05844, allocations: 317.1 kB / 1.044 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.05846, allocations: 55.41 kB / 1.044 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.05907, allocations: 0.6488 MB / 1.044 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.05909, allocations: 29.7 kB / 1.045 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.05927, allocations: 352 kB / 1.045 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.05931, allocations: 79.31 kB / 1.045 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.05938, allocations: 77.64 kB / 1.045 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.05949, allocations: 378.6 kB / 1.045 GB, free: 144 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.05959, allocations: 95.72 kB / 1.045 GB, free: 48 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4167/0.4763, allocations: 347.1 kB / 1.046 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.4766, allocations: 338.9 kB / 1.046 GB, free: 105 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4766, allocations: 4.375 kB / 1.046 GB, free: 105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004669/0.4771, allocations: 406.7 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4771, allocations: 12.19 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4771, allocations: 5.344 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4771, allocations: 6.906 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4773, allocations: 74.72 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.4773, allocations: 13.12 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4775, allocations: 55.31 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4775, allocations: 20.56 kB / 1.047 GB, free: 104.9 MB / 0.9948 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.000201/0.4777, allocations: 211.1 kB / 1.047 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.4778, allocations: 68.47 kB / 1.047 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.4782, allocations: 333.2 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4782, allocations: 3.031 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4782, allocations: 4.562 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002259/0.4784, allocations: 495.1 kB / 1.048 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.4792, allocations: 0.8816 MB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4792, allocations: 2.656 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4793, allocations: 46.05 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4793, allocations: 0 / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4793, allocations: 9.562 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4793, allocations: 3.938 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4793, allocations: 6.781 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.4797, allocations: 0.5448 MB / 1.049 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4799, allocations: 100 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.4799, allocations: 10.84 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.48, allocations: 12.44 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.4801, allocations: 22.36 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4801, allocations: 14.77 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002847/0.4804, allocations: 468.3 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/0.4804, allocations: 0 / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004508/0.4808, allocations: 216.6 kB / 1.05 GB, free: 103.2 MB / 0.9948 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.0007461/0.4816, allocations: 1.285 MB / 1.051 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.4818, allocations: 246.1 kB / 1.052 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4818, allocations: 2.875 kB / 1.052 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.4819, allocations: 112.1 kB / 1.052 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/0.4829, allocations: 441.5 kB / 1.052 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.4863, allocations: 4.933 MB / 1.057 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.4864, allocations: 316.4 kB / 1.057 GB, free: 99.21 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.4867, allocations: 134.1 kB / 1.057 GB, free: 99.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.4869, allocations: 236.2 kB / 1.058 GB, free: 99.04 MB / 0.9948 GB Notification: Performance of SimCode: time 1.022e-06/0.4869, allocations: 0 / 1.058 GB, free: 99.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.5229, allocations: 22.2 MB / 1.079 GB, free: 96.12 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/7.182, allocations: 9.266 kB / 1.079 GB, free: 96.12 MB / 0.9948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable tan.V in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.V from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable sou.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable sou.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable tan.sta_b.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable tan.sta_b.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! Error: Could not read variable noTan.sta_b.T in file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv. Warning: Get data of variable noTan.sta_b.T from file Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.20437878370285]