Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001375/0.001375, allocations: 107 kB / 16.45 MB, free: 6.453 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.001477/0.001477, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.202/3.202, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001996/0.001996, allocations: 69.52 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.357, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003429/0.3605, allocations: 2.179 MB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3622, allocations: 1.094 MB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3623, allocations: 7.984 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.3624, allocations: 23.62 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3627, allocations: 83.28 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3631, allocations: 192 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.3634, allocations: 298.8 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3636, allocations: 48.94 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3637, allocations: 111.6 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3639, allocations: 139.4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.364, allocations: 16 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.3644, allocations: 299.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3645, allocations: 47.83 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3646, allocations: 119.3 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.365, allocations: 338.5 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.365, allocations: 0 / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.365, allocations: 8 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.365, allocations: 3.938 kB / 1.326 GB, free: 14.29 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001152/0.3661, allocations: 0.6307 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3662, allocations: 11.98 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/0.3662, allocations: 46.73 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.3664, allocations: 40.73 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.3668, allocations: 287.7 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3668, allocations: 12.66 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.3669, allocations: 16.38 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.3675, allocations: 236.7 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3675, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3675, allocations: 4 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3675, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.3682, allocations: 201.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3694, allocations: 0.9384 MB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.3703, allocations: 229.2 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.3706, allocations: 101.6 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3706, allocations: 8 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3707, allocations: 34.56 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3707, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001255/0.3719, allocations: 337.5 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.372, allocations: 85.09 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3723, allocations: 263 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3723, allocations: 25.7 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3724, allocations: 168.2 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.3725, allocations: 59.53 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.3726, allocations: 45.64 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3727, allocations: 334.8 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3731, allocations: 87.91 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3735, allocations: 143.1 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.3742, allocations: 238.3 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3742, allocations: 4 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008981/0.3751, allocations: 297.3 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3751, allocations: 11.94 kB / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3751, allocations: 0 / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3751, allocations: 7.984 kB / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3754, allocations: 55.89 kB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3754, allocations: 12.05 kB / 1.33 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.3757, allocations: 39.86 kB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3757, allocations: 12.03 kB / 1.331 GB, free: 9.004 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001322/0.3758, allocations: 135.5 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3759, allocations: 35.75 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.3768, allocations: 287.3 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3768, allocations: 4 kB / 1.331 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3768, allocations: 0 / 1.331 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.3769, allocations: 7.984 kB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3773, allocations: 297.3 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3773, allocations: 0 / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.3775, allocations: 51.89 kB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3775, allocations: 8 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3776, allocations: 4 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3776, allocations: 4 kB / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3776, allocations: 0 / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.3785, allocations: 447.8 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.3786, allocations: 104.9 kB / 1.332 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3786, allocations: 4 kB / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.3789, allocations: 31.95 kB / 1.332 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.379, allocations: 19.98 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.379, allocations: 4 kB / 1.332 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002047/0.3792, allocations: 190 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003799/0.3796, allocations: 59.92 kB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001388/0.381, allocations: 0.9942 MB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.3818, allocations: 211.7 kB / 1.333 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3818, allocations: 0 / 1.333 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.3822, allocations: 124.6 kB / 1.333 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3827, allocations: 75.55 kB / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.3872, allocations: 2.712 MB / 1.336 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3876, allocations: 0.7518 MB / 1.337 GB, free: 2.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.3878, allocations: 30.28 kB / 1.337 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3879, allocations: 87.41 kB / 1.337 GB, free: 2.094 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3879, allocations: 0 / 1.337 GB, free: 2.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.4194, allocations: 6.608 MB / 1.343 GB, free: 11.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.727, allocations: 8 kB / 1.343 GB, free: 11.67 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: 15.416382777038962]