Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.001444/0.001444, allocations: 109.2 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.001641/0.001641, allocations: 219.7 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.876/2.876, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.001846/0.001846, allocations: 67.25 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2811, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01669/0.2978, allocations: 14.81 MB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.3031, allocations: 3.682 MB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.3035, allocations: 27.75 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.3042, allocations: 222.7 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3054, allocations: 0.6259 MB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.3063, allocations: 410.8 kB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3076, allocations: 1.13 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.308, allocations: 257 kB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.309, allocations: 446.5 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3095, allocations: 322.6 kB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.3095, allocations: 32 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.3101, allocations: 287.4 kB / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3102, allocations: 99.59 kB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.3104, allocations: 222.9 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.3112, allocations: 0.6189 MB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3112, allocations: 0 / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3112, allocations: 0 / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3112, allocations: 0 / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001068/0.3123, allocations: 0.6777 MB / 1.349 GB, free: 9.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3123, allocations: 12.03 kB / 1.349 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.574e-05/0.3124, allocations: 66.72 kB / 1.349 GB, free: 9.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3126, allocations: 52.64 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.3132, allocations: 400.8 kB / 1.35 GB, free: 9.395 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.3133, allocations: 28.62 kB / 1.35 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3133, allocations: 24 kB / 1.35 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.3138, allocations: 305.3 kB / 1.35 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3139, allocations: 15.88 kB / 1.35 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.3139, allocations: 12 kB / 1.35 GB, free: 9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3139, allocations: 4 kB / 1.35 GB, free: 8.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.3143, allocations: 197.8 kB / 1.35 GB, free: 8.801 MB / 1.045 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.001765/0.3161, allocations: 1.421 MB / 1.352 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3165, allocations: 150.6 kB / 1.352 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3167, allocations: 68.69 kB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/0.3168, allocations: 8 kB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.3171, allocations: 127.3 kB / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3171, allocations: 0 / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0005891/0.3176, allocations: 237.3 kB / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3177, allocations: 51.41 kB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.318, allocations: 357.6 kB / 1.353 GB, free: 6.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3181, allocations: 37.64 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3182, allocations: 220.1 kB / 1.353 GB, free: 5.977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3183, allocations: 59.58 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.3184, allocations: 49.66 kB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3185, allocations: 346.8 kB / 1.353 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3187, allocations: 67.95 kB / 1.353 GB, free: 5.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.319, allocations: 145.4 kB / 1.353 GB, free: 5.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3194, allocations: 237.7 kB / 1.354 GB, free: 5.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3194, allocations: 0 / 1.354 GB, free: 5.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005813/0.32, allocations: 318.8 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.32, allocations: 33.7 kB / 1.354 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.32, allocations: 0 / 1.354 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.32, allocations: 7.938 kB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3202, allocations: 64.2 kB / 1.354 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3202, allocations: 8 kB / 1.354 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3205, allocations: 39.7 kB / 1.354 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3205, allocations: 8 kB / 1.354 GB, free: 4.516 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001613/0.3206, allocations: 162.3 kB / 1.354 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.3207, allocations: 35.77 kB / 1.354 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.3211, allocations: 199 kB / 1.355 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3211, allocations: 7.938 kB / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3212, allocations: 0 / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005017/0.3217, allocations: 487.7 kB / 1.355 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.322, allocations: 320.5 kB / 1.355 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.322, allocations: 3.938 kB / 1.355 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3222, allocations: 27.98 kB / 1.355 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3222, allocations: 0 / 1.355 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3222, allocations: 15.92 kB / 1.355 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3222, allocations: 7.938 kB / 1.355 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3222, allocations: 0 / 1.355 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.3228, allocations: 283.4 kB / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3229, allocations: 43.83 kB / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.323, allocations: 7.938 kB / 1.356 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3232, allocations: 31.84 kB / 1.356 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.3233, allocations: 15.97 kB / 1.356 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3233, allocations: 8 kB / 1.356 GB, free: 2.734 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002569/0.3235, allocations: 247.2 kB / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3235, allocations: 0 / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004047/0.3239, allocations: 131.6 kB / 1.356 GB, free: 2.363 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001077/0.325, allocations: 0.901 MB / 1.357 GB, free: 1.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.3255, allocations: 216.7 kB / 1.357 GB, free: 1.207 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3255, allocations: 4.625 kB / 1.357 GB, free: 1.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3257, allocations: 67.89 kB / 1.357 GB, free: 1.137 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.3265, allocations: 220.2 kB / 1.357 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.3307, allocations: 3.065 MB / 1.36 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3311, allocations: 0.7995 MB / 1.361 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.3314, allocations: 55.27 kB / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.3316, allocations: 123.2 kB / 1.361 GB, free: 12.72 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3316, allocations: 0 / 1.361 GB, free: 12.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.371, allocations: 10.51 MB / 1.372 GB, free: 2.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.92, allocations: 3.938 kB / 1.372 GB, free: 2.457 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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: 16.800612868973985]