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.001585/0.001585, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002084/0.002084, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.089/3.089, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.001968/0.001968, allocations: 63.91 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 179 MB / 1.345 GB, free: 15.95 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.04193/0.3951, allocations: 38.53 MB / 1.383 GB, free: 9.277 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4103, allocations: 10.4 MB / 1.393 GB, free: 14.85 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.4119, allocations: 71.38 kB / 1.393 GB, free: 14.78 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4132, allocations: 425.2 kB / 1.394 GB, free: 14.36 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.4164, allocations: 1.221 MB / 1.395 GB, free: 13.13 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.4183, allocations: 0.7606 MB / 1.395 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.4212, allocations: 2.132 MB / 1.398 GB, free: 10.23 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.422, allocations: 0.517 MB / 1.398 GB, free: 9.707 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.4242, allocations: 1.018 MB / 1.399 GB, free: 8.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.4249, allocations: 0.5951 MB / 1.4 GB, free: 8.09 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.425, allocations: 64 kB / 1.4 GB, free: 8.027 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4262, allocations: 0.5146 MB / 1.4 GB, free: 7.512 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.4263, allocations: 187.2 kB / 1.4 GB, free: 7.328 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.4267, allocations: 322.5 kB / 1.401 GB, free: 7.012 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4283, allocations: 1.265 MB / 1.402 GB, free: 5.742 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4283, allocations: 0 / 1.402 GB, free: 5.742 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4283, allocations: 0 / 1.402 GB, free: 5.742 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4283, allocations: 7.938 kB / 1.402 GB, free: 5.734 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.001587/0.4299, allocations: 0.9945 MB / 1.403 GB, free: 4.707 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4299, allocations: 12.03 kB / 1.403 GB, free: 4.695 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.606e-05/0.43, allocations: 17.19 kB / 1.403 GB, free: 4.676 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.917e-05/0.4301, allocations: 90.7 kB / 1.403 GB, free: 4.578 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.4303, allocations: 92.41 kB / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4314, allocations: 0.6441 MB / 1.404 GB, free: 3.824 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.4314, allocations: 40.94 kB / 1.404 GB, free: 3.781 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.4315, allocations: 52 kB / 1.404 GB, free: 3.73 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.4325, allocations: 0.6339 MB / 1.404 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4325, allocations: 0 / 1.404 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.4325, allocations: 20 kB / 1.404 GB, free: 3.027 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.4325, allocations: 19.94 kB / 1.404 GB, free: 3.008 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.4332, allocations: 375.7 kB / 1.405 GB, free: 2.641 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.00264/0.4358, allocations: 2.082 MB / 1.407 GB, free: 492 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.4364, allocations: 231.3 kB / 1.407 GB, free: 252 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4366, allocations: 116.7 kB / 1.407 GB, free: 132 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.4382, allocations: 0.7456 MB / 1.408 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4382, allocations: 34.56 kB / 1.408 GB, free: 15.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.4382, allocations: 0 / 1.408 GB, free: 15.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.0006296/0.4388, allocations: 330.1 kB / 1.408 GB, free: 14.99 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4389, allocations: 55.41 kB / 1.408 GB, free: 14.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.4396, allocations: 0.6333 MB / 1.409 GB, free: 14.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4397, allocations: 33.7 kB / 1.409 GB, free: 14.25 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.44, allocations: 363.9 kB / 1.409 GB, free: 13.89 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.44, allocations: 71.39 kB / 1.409 GB, free: 13.82 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4402, allocations: 85.58 kB / 1.409 GB, free: 13.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4403, allocations: 366.8 kB / 1.41 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.4405, allocations: 95.94 kB / 1.41 GB, free: 13.27 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.4408, allocations: 338.1 kB / 1.41 GB, free: 12.85 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.4413, allocations: 351.1 kB / 1.411 GB, free: 12.44 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4413, allocations: 0 / 1.411 GB, free: 12.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006435/0.4419, allocations: 414 kB / 1.411 GB, free: 12.03 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.442, allocations: 4 kB / 1.411 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.442, allocations: 4 kB / 1.411 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.442, allocations: 11.94 kB / 1.411 GB, free: 12.01 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.4422, allocations: 72.53 kB / 1.411 GB, free: 11.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.4422, allocations: 19.92 kB / 1.411 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.4425, allocations: 51.56 kB / 1.411 GB, free: 11.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4426, allocations: 27.92 kB / 1.411 GB, free: 11.84 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.0002317/0.4428, allocations: 201.8 kB / 1.411 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4429, allocations: 71.52 kB / 1.411 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/0.4435, allocations: 351.7 kB / 1.412 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4435, allocations: 0 / 1.412 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4435, allocations: 4 kB / 1.412 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005135/0.444, allocations: 482.6 kB / 1.412 GB, free: 10.67 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.4453, allocations: 0.8921 MB / 1.413 GB, free: 9.719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4453, allocations: 0 / 1.413 GB, free: 9.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.4455, allocations: 39.97 kB / 1.413 GB, free: 9.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4455, allocations: 0 / 1.413 GB, free: 9.68 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4455, allocations: 8 kB / 1.413 GB, free: 9.672 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4455, allocations: 4 kB / 1.413 GB, free: 9.668 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4455, allocations: 3.938 kB / 1.413 GB, free: 9.664 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.4463, allocations: 0.5505 MB / 1.414 GB, free: 9.086 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.4465, allocations: 115.5 kB / 1.414 GB, free: 8.973 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.4465, allocations: 4 kB / 1.414 GB, free: 8.969 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4468, allocations: 8 kB / 1.414 GB, free: 8.961 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.4468, allocations: 19.91 kB / 1.414 GB, free: 8.941 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.4469, allocations: 15.98 kB / 1.414 GB, free: 8.926 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005386/0.4474, allocations: 467 kB / 1.414 GB, free: 8.477 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4474, allocations: 0 / 1.414 GB, free: 8.477 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006724/0.4481, allocations: 215.5 kB / 1.414 GB, free: 8.266 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.001407/0.4495, allocations: 1.274 MB / 1.416 GB, free: 6.949 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.45, allocations: 253.9 kB / 1.416 GB, free: 6.703 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.45, allocations: 0 / 1.416 GB, free: 6.703 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4502, allocations: 113.3 kB / 1.416 GB, free: 6.594 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.452, allocations: 434.3 kB / 1.416 GB, free: 6.18 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.4582, allocations: 4.968 MB / 1.421 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4585, allocations: 308.4 kB / 1.422 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004516/0.4589, allocations: 133.6 kB / 1.422 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.4592, allocations: 235.3 kB / 1.422 GB, free: 300 kB / 1.107 GB Notification: Performance of SimCode: time 6.11e-07/0.4592, allocations: 0 / 1.422 GB, free: 300 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.5087, allocations: 21.76 MB / 1.443 GB, free: 11.02 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.3, allocations: 10.22 kB / 1.443 GB, free: 11.02 MB / 1.139 GB " [Timeout remaining time 288] (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.010594864957966]