Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005292/0.005292, allocations: 99.8 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 192.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.391/2.391, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 64.12 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6344, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002806/0.6373, allocations: 2.154 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.6387, allocations: 1.045 MB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.6388, allocations: 11.88 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.6388, allocations: 27.66 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.6391, allocations: 75.28 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.6394, allocations: 191.5 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.6397, allocations: 294.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.6399, allocations: 60.72 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.64, allocations: 107.6 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.6402, allocations: 139.3 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.6402, allocations: 20 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.6406, allocations: 303.6 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.6407, allocations: 47.77 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.6408, allocations: 119.3 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.6411, allocations: 338.2 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.6412, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6412, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6412, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 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.0009619/0.6421, allocations: 0.6346 MB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.6422, allocations: 8.031 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.6422, allocations: 46.73 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.6424, allocations: 40.7 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.6428, allocations: 295.7 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.6428, allocations: 8.656 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.6428, allocations: 24.31 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.6433, allocations: 236.7 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.6433, allocations: 0 / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.6433, allocations: 4 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6434, allocations: 4 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.644, allocations: 199.8 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.645, allocations: 0.9385 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.6457, allocations: 241.2 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.6461, allocations: 113.6 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6461, allocations: 7.938 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.6461, allocations: 30.56 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.6461, allocations: 0 / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.001072/0.6472, allocations: 333.5 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.6472, allocations: 81.11 kB / 1.228 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.6475, allocations: 271 kB / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6475, allocations: 25.7 kB / 1.228 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6477, allocations: 164.3 kB / 1.229 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.6477, allocations: 67.45 kB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.6478, allocations: 41.7 kB / 1.229 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6479, allocations: 334.8 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.6482, allocations: 87.92 kB / 1.229 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.6486, allocations: 148.7 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.6492, allocations: 237.8 kB / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6492, allocations: 0 / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007851/0.65, allocations: 297.2 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.65, allocations: 8 kB / 1.23 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6501, allocations: 0.7969 kB / 1.23 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6501, allocations: 7.938 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.6503, allocations: 63.89 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6503, allocations: 0 / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.6506, allocations: 47.91 kB / 1.23 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.6506, allocations: 12 kB / 1.23 GB, free: 7.754 MB / 0.9512 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.0001115/0.6507, allocations: 129.8 kB / 1.23 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6508, allocations: 31.8 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/0.6516, allocations: 295.1 kB / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6516, allocations: 0 / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6516, allocations: 0 / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6516, allocations: 4 kB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.652, allocations: 305.3 kB / 1.231 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.652, allocations: 0 / 1.231 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.6522, allocations: 59.89 kB / 1.231 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6522, allocations: 4 kB / 1.231 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6523, allocations: 0 / 1.231 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6523, allocations: 4 kB / 1.231 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6523, allocations: 0 / 1.231 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.6531, allocations: 442.3 kB / 1.231 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.6532, allocations: 108.9 kB / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.6532, allocations: 0 / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.6534, allocations: 31.95 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.6535, allocations: 23.92 kB / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.6535, allocations: 4 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001697/0.6537, allocations: 190 kB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6537, allocations: 0 / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003156/0.654, allocations: 56.19 kB / 1.231 GB, free: 6.004 MB / 0.9512 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.001152/0.6552, allocations: 0.995 MB / 1.232 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007106/0.6559, allocations: 223.9 kB / 1.233 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6559, allocations: 4 kB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.6563, allocations: 120.2 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.6568, allocations: 73.28 kB / 1.233 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.6605, allocations: 2.712 MB / 1.235 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.6609, allocations: 0.7559 MB / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.661, allocations: 34.41 kB / 1.236 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6611, allocations: 87.41 kB / 1.236 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.6611, allocations: 0 / 1.236 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7136/1.375, allocations: 6.563 MB / 1.243 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.53, allocations: 13.42 kB / 1.243 GB, free: 10.44 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches