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.0007944/0.0007944, 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.0008011/0.0008011, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8568/0.8568, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.684 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.693e-06/1.693e-06, allocations: 0 / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.564e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.621 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.02474/0.02476, allocations: 38.26 MB / 1.018 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.03497, allocations: 10.38 MB / 1.028 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.03617, allocations: 71.38 kB / 1.029 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.03708, allocations: 437 kB / 1.029 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.03933, allocations: 1.259 MB / 1.03 GB, free: 44 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.04059, allocations: 0.7827 MB / 1.031 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.04242, allocations: 2.119 MB / 1.033 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.04305, allocations: 0.5169 MB / 1.033 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.04474, allocations: 1.27 MB / 1.035 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.04526, allocations: 0.4984 MB / 1.035 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.04533, allocations: 68 kB / 1.035 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.04604, allocations: 0.5181 MB / 1.036 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.04618, allocations: 191.2 kB / 1.036 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.04638, allocations: 283.2 kB / 1.036 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.04745, allocations: 1.27 MB / 1.037 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.04745, allocations: 0 / 1.037 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.04745, allocations: 0 / 1.037 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.04746, allocations: 0 / 1.037 GB, free: 8.516 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.001162/0.04863, allocations: 0.9945 MB / 1.038 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.04866, allocations: 12.03 kB / 1.038 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.052e-05/0.04873, allocations: 90.7 kB / 1.039 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.04888, allocations: 92.41 kB / 1.039 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.04963, allocations: 0.6355 MB / 1.039 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.04966, allocations: 41.38 kB / 1.039 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.04971, allocations: 48.38 kB / 1.039 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.05033, allocations: 0.6379 MB / 1.04 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.05034, allocations: 3.984 kB / 1.04 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.05037, allocations: 20 kB / 1.04 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.05039, allocations: 16 kB / 1.04 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.05082, allocations: 379.7 kB / 1.04 GB, free: 5.445 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.001781/0.0526, allocations: 2.074 MB / 1.042 GB, free: 3.293 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.05297, allocations: 238.5 kB / 1.043 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.0531, allocations: 112.8 kB / 1.043 GB, free: 2.938 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009512/0.05405, allocations: 0.7533 MB / 1.043 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.05408, allocations: 38.56 kB / 1.044 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.05408, allocations: 0 / 1.044 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0004217/0.0545, allocations: 323.9 kB / 1.044 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.05453, allocations: 55.41 kB / 1.044 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.05502, allocations: 0.6487 MB / 1.044 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.05505, allocations: 33.7 kB / 1.045 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.05524, allocations: 352 kB / 1.045 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.05529, allocations: 83.3 kB / 1.045 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.05537, allocations: 81.64 kB / 1.045 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.05548, allocations: 370.7 kB / 1.045 GB, free: 152 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.05559, allocations: 91.73 kB / 1.045 GB, free: 60 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4422/0.4978, allocations: 340.7 kB / 1.046 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4981, allocations: 338.7 kB / 1.046 GB, free: 105 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4981, allocations: 1.062 kB / 1.046 GB, free: 105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004668/0.4986, allocations: 415.4 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4986, allocations: 9.625 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4986, allocations: 5.719 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4986, allocations: 5.781 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4988, allocations: 78.16 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.4988, allocations: 12.56 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.499, allocations: 54.38 kB / 1.047 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.499, allocations: 20.77 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.0001954/0.4992, allocations: 208.9 kB / 1.047 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4993, allocations: 69.53 kB / 1.047 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.4996, allocations: 334.3 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4997, allocations: 5.969 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4997, allocations: 3.938 kB / 1.047 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002111/0.4999, allocations: 0.4888 MB / 1.048 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.5006, allocations: 0.8764 MB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5006, allocations: 0 / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5007, allocations: 42.7 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5007, allocations: 3.156 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5007, allocations: 9.828 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5007, allocations: 10.75 kB / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5007, allocations: 0 / 1.049 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.5011, allocations: 0.543 MB / 1.049 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5012, allocations: 102.6 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.5013, allocations: 13.67 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5014, allocations: 6.875 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.5014, allocations: 25.83 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.5014, allocations: 16.17 kB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002729/0.5017, allocations: 465.3 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5017, allocations: 2.875 kB / 1.05 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004285/0.5021, allocations: 212.7 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.0007168/0.5029, allocations: 1.278 MB / 1.051 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.5031, allocations: 254.3 kB / 1.052 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5031, allocations: 0.6562 kB / 1.052 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.5032, allocations: 114.7 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.0009599/0.5042, allocations: 431.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.003381/0.5076, allocations: 4.938 MB / 1.057 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.5077, allocations: 309.8 kB / 1.057 GB, free: 99.19 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.508, allocations: 133 kB / 1.057 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5081, allocations: 229.6 kB / 1.057 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of SimCode: time 5.71e-07/0.5081, allocations: 0 / 1.057 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.5428, allocations: 22.21 MB / 1.079 GB, free: 96.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/7.255, allocations: 11.3 kB / 1.079 GB, free: 96.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.185873868875206]