Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0008063/0.0008063, 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.0008313/0.0008313, allocations: 170.3 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.8753/0.8753, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9997 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.877e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002413/0.002432, allocations: 1.611 MB / 1.001 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003733, allocations: 0.9432 MB / 1.002 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.003806, allocations: 0 / 1.002 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.003841, allocations: 7.922 kB / 1.002 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.004085, allocations: 31.66 kB / 1.002 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.004359, allocations: 155.5 kB / 1.002 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004508, allocations: 87.58 kB / 1.002 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00461, allocations: 11.98 kB / 1.002 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004744, allocations: 43.89 kB / 1.003 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.004818, allocations: 27.97 kB / 1.003 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004836, allocations: 4 kB / 1.003 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.005107, allocations: 283.5 kB / 1.003 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.005122, allocations: 4 kB / 1.003 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.005152, allocations: 19.92 kB / 1.003 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005378, allocations: 195.4 kB / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005381, allocations: 0 / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/0.005382, allocations: 0 / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.005387, allocations: 0 / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004605/0.005848, allocations: 341.7 kB / 1.003 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.005898, allocations: 12.75 kB / 1.003 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.005932, allocations: 30.75 kB / 1.003 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.006092, allocations: 28.86 kB / 1.003 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.006261, allocations: 139.2 kB / 1.004 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.006273, allocations: 4.375 kB / 1.004 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.006282, allocations: 4.375 kB / 1.004 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.00642, allocations: 69.58 kB / 1.004 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006427, allocations: 3.938 kB / 1.004 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006435, allocations: 0 / 1.004 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006441, allocations: 4 kB / 1.004 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.006533, allocations: 47.91 kB / 1.004 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.006868, allocations: 267.8 kB / 1.004 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006969, allocations: 50.55 kB / 1.004 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.007015, allocations: 28.97 kB / 1.004 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.007031, allocations: 0 / 1.004 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.007054, allocations: 42.48 kB / 1.004 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.007054, allocations: 3.938 kB / 1.004 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.0002469/0.007301, allocations: 109.6 kB / 1.004 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.007331, allocations: 51.41 kB / 1.004 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.007415, allocations: 135.9 kB / 1.004 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007425, allocations: 25.7 kB / 1.004 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.007472, allocations: 92.14 kB / 1.004 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.007489, allocations: 23.84 kB / 1.004 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.007518, allocations: 17.72 kB / 1.005 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.007599, allocations: 322.8 kB / 1.005 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.007643, allocations: 27.98 kB / 1.005 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.007681, allocations: 19.98 kB / 1.005 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.007769, allocations: 60.77 kB / 1.005 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007771, allocations: 0 / 1.005 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001308/0.007901, allocations: 89.61 kB / 1.005 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.007915, allocations: 4 kB / 1.005 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00792, allocations: 0 / 1.005 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.007932, allocations: 4 kB / 1.005 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.008006, allocations: 15.98 kB / 1.005 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.008011, allocations: 0 / 1.005 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.008039, allocations: 7.938 kB / 1.005 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.008045, allocations: 0 / 1.005 GB, free: 6.637 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.014e-05/0.008105, allocations: 121.7 kB / 1.005 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.008128, allocations: 11.94 kB / 1.005 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.008284, allocations: 98.56 kB / 1.005 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008287, allocations: 4 kB / 1.005 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.008292, allocations: 4.062 kB / 1.005 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008295, allocations: 0 / 1.005 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.008412, allocations: 160.7 kB / 1.005 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008413, allocations: 0 / 1.005 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.00845, allocations: 15.98 kB / 1.005 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008452, allocations: 0 / 1.005 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008458, allocations: 0 / 1.005 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008459, allocations: 0 / 1.005 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.008462, allocations: 7.922 kB / 1.005 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.008605, allocations: 191.4 kB / 1.006 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.008615, allocations: 11.91 kB / 1.006 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.008628, allocations: 3.984 kB / 1.006 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.008666, allocations: 4 kB / 1.006 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.008703, allocations: 3.984 kB / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.008707, allocations: 4 kB / 1.006 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.008749, allocations: 101.5 kB / 1.006 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008749, allocations: 0 / 1.006 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001628/0.008912, allocations: 31.88 kB / 1.006 GB, free: 5.801 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0003784/0.00929, allocations: 0.7357 MB / 1.006 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.009422, allocations: 51.97 kB / 1.007 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.009424, allocations: 0 / 1.007 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.009468, allocations: 35.91 kB / 1.007 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.009672, allocations: 8.375 kB / 1.007 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01075, allocations: 1.456 MB / 1.008 GB, free: 3.395 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.0108, allocations: 79.27 kB / 1.008 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.01083, allocations: 11.75 kB / 1.008 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.01088, allocations: 28.48 kB / 1.008 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.01088, allocations: 0 / 1.008 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.02648, allocations: 3.076 MB / 1.011 GB, free: 348 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.006, allocations: 0 / 1.011 GB, free: 348 kB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.133792702108622]