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.001792/0.001792, allocations: 110.4 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.002389/0.002389, allocations: 218.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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.8 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002007/0.002007, allocations: 66.45 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002869/0.3634, allocations: 1.649 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.365, allocations: 1.003 MB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.3651, allocations: 3.938 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.3651, allocations: 11.81 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3653, allocations: 23.78 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3657, allocations: 160.8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3658, allocations: 83.69 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.3659, allocations: 7.516 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.366, allocations: 43.8 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.3661, allocations: 39.83 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3661, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.3666, allocations: 291.6 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3666, allocations: 11.94 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3666, allocations: 31.8 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3669, allocations: 156.2 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3669, allocations: 4 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3669, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3669, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 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.0005662/0.3675, allocations: 349.6 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3675, allocations: 8.031 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.3675, allocations: 34.73 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.3678, allocations: 32.88 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.368, allocations: 142.3 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.368, allocations: 384 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.368, allocations: 8.375 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3682, allocations: 65.78 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3682, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3682, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3682, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3684, allocations: 43.97 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.3688, allocations: 279.8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.369, allocations: 50.55 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.3691, allocations: 32.97 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3691, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3691, allocations: 30.56 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3691, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003663/0.3695, allocations: 113.5 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3695, allocations: 55.41 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3696, allocations: 135.9 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3697, allocations: 25.7 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.3697, allocations: 100.1 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3697, allocations: 11.91 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.3698, allocations: 17.72 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3699, allocations: 322.8 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.37, allocations: 31.92 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.3701, allocations: 23.98 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3702, allocations: 52.83 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3702, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002178/0.3704, allocations: 93.92 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3705, allocations: 4 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3705, allocations: 4.062 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3705, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3706, allocations: 15.98 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3706, allocations: 7.938 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.3707, allocations: 11.94 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3707, allocations: 3.984 kB / 1.289 GB, free: 5.93 MB / 0.9825 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 9.712e-05/0.3708, allocations: 117.8 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.3708, allocations: 7.953 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.3711, allocations: 105.9 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3711, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3711, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3711, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3713, allocations: 156.7 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3713, allocations: 0 / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3714, allocations: 19.98 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3714, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3714, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3714, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3714, allocations: 3.984 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3716, allocations: 199.3 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.3717, allocations: 3.953 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3717, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.3718, allocations: 7.984 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3718, allocations: 4 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3718, allocations: 7.984 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.3719, allocations: 105.5 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3719, allocations: 0 / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002519/0.3721, allocations: 27.94 kB / 1.29 GB, free: 5.098 MB / 0.9825 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.0006407/0.3728, allocations: 0.732 MB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.373, allocations: 59.95 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.373, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.3731, allocations: 31.92 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3733, allocations: 15.92 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.375, allocations: 1.478 MB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3753, allocations: 0.7001 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.3754, allocations: 7.984 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.3754, allocations: 27.42 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3754, allocations: 4 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4065, allocations: 2.483 MB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 10.08 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.4534848369658]