Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.004947/0.004947, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001336/0.001336, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.226/1.226, 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.399/2.399, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6125, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002419/0.6149, allocations: 1.612 MB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.6162, allocations: 0.9084 MB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.6163, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.6163, allocations: 11.92 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.6165, allocations: 19.8 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.6168, allocations: 143.6 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.617, allocations: 71.66 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.6171, allocations: 16 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.6171, allocations: 39.89 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.6173, allocations: 31.86 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.6173, allocations: 4 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.6177, allocations: 283.6 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.6177, allocations: 15.92 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.6177, allocations: 35.78 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.618, allocations: 151.1 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.618, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.618, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.618, allocations: 11.94 kB / 1.223 GB, free: 14.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005151/0.6185, allocations: 406.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6186, allocations: 12.03 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.6186, allocations: 30.75 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.6187, allocations: 12.89 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.6189, allocations: 184.3 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.6189, allocations: 4.375 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.6189, allocations: 8.375 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.6191, allocations: 61.8 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6191, allocations: 3.938 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.6191, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6191, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.6193, allocations: 43.95 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.6197, allocations: 304.7 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.6198, allocations: 62.48 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.6199, allocations: 28.91 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6199, allocations: 0 / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.62, allocations: 38.56 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.62, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0003282/0.6203, allocations: 113.6 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6203, allocations: 51.41 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6204, allocations: 127.7 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.6205, allocations: 29.7 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.6205, allocations: 92.14 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.6206, allocations: 19.84 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.6206, allocations: 21.72 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6207, allocations: 322.8 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.6208, allocations: 23.92 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.6209, allocations: 27.98 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.621, allocations: 48.83 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.621, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002034/0.6212, allocations: 85.62 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6213, allocations: 8 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6213, allocations: 3.984 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6213, allocations: 3.984 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.6214, allocations: 12 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6214, allocations: 7.922 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.6215, allocations: 11.94 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.6215, allocations: 4 kB / 1.226 GB, free: 12.29 MB / 0.9512 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 7.505e-05/0.6216, allocations: 117.8 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.6216, allocations: 7.953 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.6218, allocations: 93.95 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.6219, allocations: 3.938 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6219, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.6219, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.6221, allocations: 185.6 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6221, allocations: 0.5 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.6221, allocations: 19.92 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6222, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.6222, allocations: 7.984 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6222, allocations: 3.938 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6222, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.6224, allocations: 191.4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.6225, allocations: 85.05 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.6225, allocations: 4 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.6226, allocations: 4 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.6226, allocations: 7.984 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.6226, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.699e-05/0.6227, allocations: 109.7 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6227, allocations: 0 / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002172/0.6229, allocations: 19.94 kB / 1.226 GB, free: 11.33 MB / 0.9512 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.0005732/0.6235, allocations: 0.748 MB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.6237, allocations: 47.97 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6237, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.6238, allocations: 39.92 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.6241, allocations: 11.98 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.6255, allocations: 1.463 MB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.6258, allocations: 0.6924 MB / 1.229 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.6259, allocations: 4 kB / 1.229 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.6259, allocations: 27.42 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6259, allocations: 0 / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.563/4.189, allocations: 2.318 MB / 1.232 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/12.11, allocations: 15.42 kB / 1.232 GB, free: 5.965 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches