Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_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.001375/0.001375, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001466/0.001466, allocations: 190 kB / 16.25 MB, free: 6.633 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001518, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6487, allocations: 140.4 MB / 0.9492 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003024/0.6518, allocations: 1.656 MB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.653, allocations: 0.9025 MB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.6531, allocations: 1.469 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.6532, allocations: 7.938 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.6534, allocations: 18.78 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.6538, allocations: 117.5 kB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.654, allocations: 70.25 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6541, allocations: 19.2 kB / 0.952 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.6542, allocations: 41.91 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.6543, allocations: 36.47 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.6544, allocations: 3.562 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.6548, allocations: 286.2 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.6548, allocations: 10.03 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.6549, allocations: 31.97 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.6551, allocations: 150.7 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6552, allocations: 11.88 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6552, allocations: 1.156 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6552, allocations: 0 / 0.9525 GB, free: 6.5 MB / 0.7169 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.00061/0.6558, allocations: 402.3 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6559, allocations: 10.06 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.6559, allocations: 35.64 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.6561, allocations: 11.5 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.6563, allocations: 186.9 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6563, allocations: 10.34 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.6563, allocations: 10.25 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.6566, allocations: 62.22 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6566, allocations: 0 / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6566, allocations: 1.188 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.6567, allocations: 0 / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.6569, allocations: 40.38 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.6574, allocations: 300 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.6577, allocations: 60.25 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.6578, allocations: 27.25 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6578, allocations: 5.219 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.6579, allocations: 38.56 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/0.6579, allocations: 1.156 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0005476/0.6584, allocations: 105.3 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.6585, allocations: 57.12 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6586, allocations: 129.3 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6586, allocations: 29.7 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.6587, allocations: 107.1 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.6587, allocations: 9.438 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.6588, allocations: 18.09 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.6589, allocations: 325.1 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.659, allocations: 20.64 kB / 0.9544 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6591, allocations: 25.2 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.6594, allocations: 55.55 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6594, allocations: 3.938 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003429/0.6597, allocations: 94.19 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6598, allocations: 4.5 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6598, allocations: 1.469 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6598, allocations: 0 / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.66, allocations: 13.98 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.66, allocations: 1.625 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6601, allocations: 11 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6601, allocations: 8.984 kB / 0.9546 GB, free: 4.445 MB / 0.7169 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.202e-05/0.6602, allocations: 109.8 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.6603, allocations: 15.81 kB / 0.9548 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.6607, allocations: 95.69 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6607, allocations: 5.141 kB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6607, allocations: 4 kB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6607, allocations: 3.938 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.6609, allocations: 191.3 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6609, allocations: 1 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.6611, allocations: 13.73 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6611, allocations: 1.219 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.6611, allocations: 1.156 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6611, allocations: 0 / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6611, allocations: 1.219 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.6615, allocations: 192 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.6615, allocations: 83.7 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.6616, allocations: 3.938 kB / 0.9553 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.6617, allocations: 12.36 kB / 0.9553 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.6618, allocations: 1.438 kB / 0.9553 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.6618, allocations: 5.375 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.6619, allocations: 103.1 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6619, allocations: 4 kB / 0.9555 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004431/0.6624, allocations: 22.27 kB / 0.9555 GB, free: 3.641 MB / 0.7169 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.0006839/0.6631, allocations: 0.7286 MB / 0.9562 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.6634, allocations: 65.86 kB / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6634, allocations: 0 / 0.9562 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.6635, allocations: 31.02 kB / 0.9563 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.6641, allocations: 16.97 kB / 0.9563 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.666, allocations: 1.471 MB / 0.9577 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.6661, allocations: 0.6915 MB / 0.9584 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.115e-05/0.6662, allocations: 13.73 kB / 0.9584 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.6663, allocations: 27.33 kB / 0.9584 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6663, allocations: 0 / 0.9584 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.428/2.094, allocations: 2.151 MB / 0.9605 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/2.094, allocations: 215.3 kB / 0.9607 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/3.923, allocations: 0 / 0.9607 GB, free: 15.5 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches