Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008722/0.0008722, 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.0009007/0.0009007, 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.881/0.881, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.743e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002166/0.002183, allocations: 1.612 MB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003294, allocations: 0.9391 MB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.003354, allocations: 0 / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.003383, allocations: 3.938 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.003571, allocations: 31.66 kB / 0.9531 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.003833, allocations: 160.3 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003961, allocations: 79.66 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.004053, allocations: 15.97 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.004181, allocations: 43.91 kB / 0.9534 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.004248, allocations: 31.89 kB / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.004263, allocations: 4 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.00451, allocations: 275.6 kB / 0.9537 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.004526, allocations: 19.92 kB / 0.9537 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.00455, allocations: 15.98 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.004747, allocations: 183.4 kB / 0.9539 GB, free: 44 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004749, allocations: 0 / 0.9539 GB, free: 44 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00475, allocations: 3.938 kB / 0.9539 GB, free: 40 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004753, allocations: 0 / 0.9539 GB, free: 40 kB / 0.9011 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.0004185/0.005172, allocations: 355.5 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005211, allocations: 12.03 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.00524, allocations: 30.75 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.005384, allocations: 32.86 kB / 0.9543 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005541, allocations: 129.7 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.00555, allocations: 4.375 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.00556, allocations: 4.375 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.005683, allocations: 62.23 kB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00569, allocations: 4.188 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.0057, allocations: 4.125 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005704, allocations: 0 / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.005792, allocations: 47.89 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.006112, allocations: 263.9 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.006205, allocations: 50.5 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.00625, allocations: 28.97 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006266, allocations: 8 kB / 0.9549 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.006282, allocations: 30.56 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.006283, allocations: 0 / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.000238/0.006521, allocations: 109.5 kB / 0.955 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.00655, allocations: 55.41 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.006624, allocations: 132.2 kB / 0.9552 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006635, allocations: 29.7 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.006676, allocations: 92.12 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.006691, allocations: 23.86 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.00672, allocations: 17.72 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.006793, allocations: 322.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.006836, allocations: 19.98 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.006872, allocations: 20.36 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.006959, allocations: 60.77 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006961, allocations: 3.938 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001301/0.007091, allocations: 101.5 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.007103, allocations: 6.188 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007108, allocations: 4 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.007119, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.007187, allocations: 11.98 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.007191, allocations: 0 / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.007218, allocations: 7.938 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.007225, allocations: 11.92 kB / 0.9559 GB, free: 13.79 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 5.575e-05/0.007281, allocations: 113.8 kB / 0.956 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.007303, allocations: 15.89 kB / 0.956 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.007464, allocations: 102 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.007468, allocations: 0 / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.007476, allocations: 4 kB / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.007483, allocations: 0 / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.007635, allocations: 144.7 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.007638, allocations: 0 / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.007683, allocations: 19.98 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.007687, allocations: 4 kB / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.007702, allocations: 0 / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.007706, allocations: 4 kB / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.007708, allocations: 0 / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.007888, allocations: 191.5 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.007898, allocations: 15.94 kB / 0.9565 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007908, allocations: 0 / 0.9565 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.007953, allocations: 4 kB / 0.9565 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.007988, allocations: 7.984 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.007991, allocations: 0 / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.008036, allocations: 117.3 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008036, allocations: 0 / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001574/0.008193, allocations: 19.94 kB / 0.9566 GB, free: 12.97 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.0003587/0.008552, allocations: 0.7397 MB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.008681, allocations: 51.95 kB / 0.9574 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008682, allocations: 0 / 0.9574 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.008726, allocations: 35.92 kB / 0.9574 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.008928, allocations: 15.94 kB / 0.9574 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.01, allocations: 1.46 MB / 0.9588 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.01005, allocations: 79.33 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.01008, allocations: 15.72 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.01013, allocations: 28.48 kB / 0.959 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01013, allocations: 0 / 0.959 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.02675, allocations: 3.061 MB / 0.962 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.672, allocations: 13.11 kB / 0.962 GB, free: 7.504 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.653155915439129]