Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001372/0.001372, 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.001635/0.001635, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 3.208/3.208, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_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.00207/0.00207, allocations: 70.33 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002913/0.3528, allocations: 1.652 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3544, allocations: 1.009 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3545, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.3545, allocations: 7.875 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3547, allocations: 23.78 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3551, allocations: 164.8 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3553, allocations: 75.72 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.3554, allocations: 15.92 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3555, allocations: 43.78 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3556, allocations: 35.84 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3556, allocations: 8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.3561, allocations: 283.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.3561, allocations: 11.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.3562, allocations: 39.73 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3564, allocations: 155.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3564, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3564, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3564, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 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.0006215/0.3571, allocations: 343.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3571, allocations: 12.03 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3571, allocations: 34.69 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.3574, allocations: 28.86 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3577, allocations: 146.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3577, allocations: 4.375 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3577, allocations: 4.375 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3579, allocations: 65.78 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3579, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3579, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3579, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3581, allocations: 47.95 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3585, allocations: 267.8 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3587, allocations: 54.53 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.3587, allocations: 28.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3588, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3588, allocations: 34.56 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3588, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003756/0.3592, allocations: 109.5 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3592, allocations: 55.39 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3593, allocations: 135.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3593, allocations: 29.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.3594, allocations: 96.09 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3594, allocations: 19.83 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.3595, allocations: 17.72 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3596, allocations: 326.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.3597, allocations: 19.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.3598, allocations: 20.23 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3599, allocations: 60.95 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3599, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002185/0.3602, allocations: 97.55 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3602, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3602, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3602, allocations: 4 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3603, allocations: 11.98 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3603, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.3604, allocations: 11.94 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3604, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 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 8.937e-05/0.3605, allocations: 118.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.3605, allocations: 15.89 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.3608, allocations: 102 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3608, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3608, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3608, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.361, allocations: 164.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.361, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.3611, allocations: 15.98 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3611, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.3611, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3611, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3611, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3613, allocations: 203.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3614, allocations: 7.953 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3614, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.3615, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3615, allocations: 7.984 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3615, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.977e-05/0.3616, allocations: 108.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3616, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002532/0.3618, allocations: 27.94 kB / 1.332 GB, free: 11.26 MB / 1.029 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.0006456/0.3625, allocations: 0.724 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3627, allocations: 59.95 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3627, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.3628, allocations: 23.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3631, allocations: 13.81 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3648, allocations: 1.465 MB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3651, allocations: 0.6924 MB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.3652, allocations: 7.984 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3652, allocations: 23.44 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3652, allocations: 3.938 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3947, allocations: 2.518 MB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 2.234 kB / 1.338 GB, free: 5.746 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.860749463085085]