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.001374/0.001374, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00158/0.00158, allocations: 214.8 kB / 22.25 MB, free: 5.074 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.031 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.263/3.263, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.002045/0.002045, allocations: 66.09 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003744/0.3393, allocations: 2.2 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.3413, allocations: 1.094 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3415, allocations: 7.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.559e-05/0.3416, allocations: 27.66 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.342, allocations: 83.28 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.3425, allocations: 195.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.3429, allocations: 294.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3431, allocations: 56.83 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3432, allocations: 99.64 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3435, allocations: 147.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.3436, allocations: 20 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.3441, allocations: 295.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.3441, allocations: 47.78 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3442, allocations: 123.2 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.3447, allocations: 334.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3447, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3447, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3447, allocations: 0 / 1.331 GB, free: 12.9 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.3459, allocations: 0.5709 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3459, allocations: 8.031 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.346, allocations: 46.73 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.3462, allocations: 36.75 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.3467, allocations: 229.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3467, allocations: 12.66 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.3467, allocations: 16.38 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3473, allocations: 228.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3473, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3473, allocations: 8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.3473, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.348, allocations: 199.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3493, allocations: 0.9102 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.3501, allocations: 229.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.3504, allocations: 105.6 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3505, allocations: 3.984 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3505, allocations: 38.56 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3505, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001224/0.3517, allocations: 337.5 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.3518, allocations: 77.11 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.3521, allocations: 268.2 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3521, allocations: 33.7 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3522, allocations: 156.3 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.3523, allocations: 55.52 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.3524, allocations: 49.64 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3525, allocations: 334.8 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3529, allocations: 91.91 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.3532, allocations: 143.8 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.3539, allocations: 241.7 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3539, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008682/0.3548, allocations: 297.1 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3548, allocations: 4 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3548, allocations: 12.08 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3548, allocations: 4 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.3551, allocations: 63.89 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3552, allocations: 4.703 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.3554, allocations: 39.84 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3554, allocations: 4 kB / 1.335 GB, free: 7.812 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.000143/0.3556, allocations: 142.2 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3557, allocations: 31.75 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/0.3565, allocations: 291.1 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3565, allocations: 4 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3565, allocations: 0 / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3566, allocations: 0 / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.357, allocations: 268.5 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.357, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3572, allocations: 63.88 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3572, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3573, allocations: 8 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3573, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3573, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.3581, allocations: 452.2 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.3582, allocations: 31.77 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.3582, allocations: 8 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.3584, allocations: 23.97 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3585, allocations: 15.97 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3585, allocations: 8.281 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001849/0.3587, allocations: 191.1 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3587, allocations: 0 / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003916/0.3591, allocations: 71.81 kB / 1.337 GB, free: 6.16 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.00129/0.3604, allocations: 0.9847 MB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007525/0.3611, allocations: 223.7 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3611, allocations: 0 / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.3615, allocations: 108.2 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3621, allocations: 70.81 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.3664, allocations: 2.705 MB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3668, allocations: 0.7634 MB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.367, allocations: 30.44 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3671, allocations: 83.41 kB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3671, allocations: 0 / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.4044, allocations: 6.81 MB / 1.349 GB, free: 10.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 5.953 kB / 1.349 GB, free: 10.43 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.39976261393167]