Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.24/3.24, allocations: 497.2 MB / 0.7811 GB, free: 33.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.12 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003755/0.3372, allocations: 2.162 MB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.339, allocations: 1.04 MB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.3392, allocations: 11.94 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.3392, allocations: 23.67 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3395, allocations: 83.28 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.34, allocations: 187.5 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.3404, allocations: 306.7 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3406, allocations: 52.94 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.3408, allocations: 107.5 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.341, allocations: 143.3 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.341, allocations: 20 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.3415, allocations: 291.7 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.3416, allocations: 51.81 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3417, allocations: 123.3 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.3421, allocations: 334.5 kB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3421, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3421, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.3422, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 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.001202/0.3434, allocations: 0.6346 MB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3434, allocations: 8.922 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.3435, allocations: 50.73 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.3437, allocations: 36.75 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.3441, allocations: 291.7 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3442, allocations: 8.656 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3442, allocations: 16.38 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.3447, allocations: 232.7 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3448, allocations: 3.984 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3448, allocations: 4 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.3448, allocations: 4 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.3454, allocations: 203.8 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3467, allocations: 0.9423 MB / 1.311 GB, free: 9.977 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.3475, allocations: 229.2 kB / 1.311 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.3478, allocations: 105.6 kB / 1.311 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3478, allocations: 4 kB / 1.311 GB, free: 9.621 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3478, allocations: 34.56 kB / 1.312 GB, free: 9.578 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3478, allocations: 0 / 1.312 GB, free: 9.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.00113/0.349, allocations: 333.5 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.349, allocations: 85.11 kB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3493, allocations: 271 kB / 1.312 GB, free: 8.871 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3493, allocations: 29.7 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3495, allocations: 156.3 kB / 1.312 GB, free: 8.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.3495, allocations: 59.47 kB / 1.312 GB, free: 8.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.3496, allocations: 45.64 kB / 1.312 GB, free: 8.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3497, allocations: 334.8 kB / 1.313 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.3501, allocations: 91.91 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.3504, allocations: 145.9 kB / 1.313 GB, free: 7.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.351, allocations: 238.4 kB / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.351, allocations: 0 / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008269/0.3519, allocations: 301.1 kB / 1.313 GB, free: 7.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3519, allocations: 4 kB / 1.314 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3519, allocations: 4.078 kB / 1.314 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3519, allocations: 4 kB / 1.314 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.3522, allocations: 67.88 kB / 1.314 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3522, allocations: 12.11 kB / 1.314 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3524, allocations: 35.86 kB / 1.314 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3525, allocations: 11.98 kB / 1.314 GB, free: 7.289 MB / 1.014 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.0001337/0.3526, allocations: 133.8 kB / 1.314 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3527, allocations: 31.75 kB / 1.314 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.3535, allocations: 291.1 kB / 1.314 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3535, allocations: 4 kB / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3535, allocations: 0 / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3535, allocations: 0 / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3539, allocations: 301.6 kB / 1.314 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3539, allocations: 0 / 1.314 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3542, allocations: 55.89 kB / 1.314 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3542, allocations: 11.92 kB / 1.314 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3542, allocations: 4 kB / 1.314 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3542, allocations: 0 / 1.314 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3542, allocations: 4 kB / 1.314 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.3551, allocations: 435.8 kB / 1.315 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.3552, allocations: 108.8 kB / 1.315 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.3552, allocations: 4 kB / 1.315 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.3555, allocations: 27.97 kB / 1.315 GB, free: 5.805 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.3556, allocations: 27.91 kB / 1.315 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3556, allocations: 4 kB / 1.315 GB, free: 5.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001915/0.3558, allocations: 190 kB / 1.315 GB, free: 5.586 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3558, allocations: 0 / 1.315 GB, free: 5.586 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003651/0.3561, allocations: 59.89 kB / 1.315 GB, free: 5.527 MB / 1.014 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.001251/0.3574, allocations: 0.9886 MB / 1.316 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007356/0.3581, allocations: 221.1 kB / 1.316 GB, free: 4.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3581, allocations: 4.062 kB / 1.316 GB, free: 4.293 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.3585, allocations: 115.8 kB / 1.317 GB, free: 4.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.3591, allocations: 79.66 kB / 1.317 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.3633, allocations: 2.708 MB / 1.319 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3637, allocations: 0.748 MB / 1.32 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3639, allocations: 30.3 kB / 1.32 GB, free: 476 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.364, allocations: 83.41 kB / 1.32 GB, free: 392 kB / 1.014 GB Notification: Performance of SimCode: time 8.61e-07/0.364, allocations: 0 / 1.32 GB, free: 392 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3951, allocations: 6.602 MB / 1.327 GB, free: 9.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.923, allocations: 3.344 kB / 1.327 GB, free: 9.977 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.648221925832331]