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.0007774/0.0007774, 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.0008094/0.0008094, allocations: 169.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.8654/0.8654, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.666/1.666, 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.084e-05, allocations: 5.094 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009822/0.009843, allocations: 13.44 MB / 0.9941 GB, free: 5.121 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.01311, allocations: 3.381 MB / 0.9974 GB, free: 1.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.01346, allocations: 31.75 kB / 0.9974 GB, free: 1.699 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.01397, allocations: 206.6 kB / 0.9976 GB, free: 1.496 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01527, allocations: 0.641 MB / 0.9982 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.0159, allocations: 415.9 kB / 0.9986 GB, free: 460 kB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009256/0.01682, allocations: 1.114 MB / 0.9997 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.01713, allocations: 253 kB / 0.9999 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.018, allocations: 0.5519 MB / 1 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.01828, allocations: 279.1 kB / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.01832, allocations: 32 kB / 1.001 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.01866, allocations: 219.4 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.01875, allocations: 103.6 kB / 1.001 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01886, allocations: 155.6 kB / 1.001 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.01945, allocations: 0.6153 MB / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01946, allocations: 0 / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.986e-06/0.01946, allocations: 0 / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.01947, allocations: 0 / 1.002 GB, free: 13.13 MB / 0.9636 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.0008103/0.02028, allocations: 0.6777 MB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.02032, allocations: 11.97 kB / 1.003 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.02037, allocations: 58.73 kB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.0205, allocations: 60.64 kB / 1.003 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.02103, allocations: 400 kB / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.02105, allocations: 20.88 kB / 1.003 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.02109, allocations: 32.38 kB / 1.003 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.02151, allocations: 420.2 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.02153, allocations: 3.938 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.02155, allocations: 8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.02157, allocations: 8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.02184, allocations: 193.8 kB / 1.004 GB, free: 11.15 MB / 0.9636 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.001191/0.02303, allocations: 1.131 MB / 1.005 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.02334, allocations: 154.4 kB / 1.005 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.02344, allocations: 64.83 kB / 1.005 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.02353, allocations: 11.98 kB / 1.005 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.02375, allocations: 234 kB / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 2.255e-06/0.02375, allocations: 0 / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0004299/0.02418, allocations: 229.3 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.02422, allocations: 63.34 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.02447, allocations: 357.6 kB / 1.006 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.02449, allocations: 29.7 kB / 1.006 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.0246, allocations: 228 kB / 1.006 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.02464, allocations: 51.59 kB / 1.006 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.02469, allocations: 53.66 kB / 1.006 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.02485, allocations: 346.7 kB / 1.007 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.02497, allocations: 101.7 kB / 1.007 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.02511, allocations: 171.1 kB / 1.007 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.02535, allocations: 249.5 kB / 1.007 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.02535, allocations: 8 kB / 1.007 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003342/0.02569, allocations: 336.6 kB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.02572, allocations: 40.03 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02572, allocations: 0 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.02574, allocations: 4.312 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.02586, allocations: 59.91 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02587, allocations: 11.92 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.026, allocations: 39.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.02602, allocations: 15.98 kB / 1.007 GB, free: 6.949 MB / 0.9636 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.0001099/0.02613, allocations: 157.8 kB / 1.008 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.02616, allocations: 31.81 kB / 1.008 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.02655, allocations: 207.4 kB / 1.008 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.02655, allocations: 4 kB / 1.008 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02656, allocations: 0 / 1.008 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000276/0.02683, allocations: 487.6 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.0271, allocations: 284.6 kB / 1.009 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.0271, allocations: 3.938 kB / 1.009 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.02718, allocations: 35.97 kB / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.02718, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.0272, allocations: 8 kB / 1.009 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.0272, allocations: 0 / 1.009 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0272, allocations: 0 / 1.009 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.02753, allocations: 288.6 kB / 1.009 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.0276, allocations: 43.83 kB / 1.009 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.02763, allocations: 11.94 kB / 1.009 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.02773, allocations: 15.92 kB / 1.009 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.02778, allocations: 19.97 kB / 1.009 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.0278, allocations: 11.92 kB / 1.009 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001578/0.02795, allocations: 247.2 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02795, allocations: 7.938 kB / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002915/0.02825, allocations: 119.8 kB / 1.009 GB, free: 4.848 MB / 0.9636 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.0006728/0.02892, allocations: 0.9149 MB / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.0292, allocations: 249.2 kB / 1.011 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.0292, allocations: 0 / 1.011 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.044e-05/0.02929, allocations: 67.89 kB / 1.011 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.02981, allocations: 215.6 kB / 1.011 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.03247, allocations: 3.093 MB / 1.014 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.03259, allocations: 189.8 kB / 1.014 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.03278, allocations: 67.17 kB / 1.014 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.0329, allocations: 116.5 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of SimCode: time 8.32e-07/0.0329, allocations: 0 / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.05823, allocations: 11.69 MB / 1.026 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/6.964, allocations: 10.39 kB / 1.026 GB, free: 4.379 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.823253385722637]