Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.000926/0.000926, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005569/0.005569, allocations: 170 kB / 16.26 MB, free: 6.68 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 12.28 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5133, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.001276/0.5146, allocations: 1.311 MB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.939e-05/0.5147, allocations: 50.84 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.5147, allocations: 5.281 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.5148, allocations: 3.938 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.5148, allocations: 9.328 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.522e-05/0.5149, allocations: 21.34 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.515, allocations: 68.69 kB / 0.9566 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.5151, allocations: 15.11 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.5151, allocations: 29.34 kB / 0.9567 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.5152, allocations: 36.7 kB / 0.9567 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.5152, allocations: 3.375 kB / 0.9567 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.5152, allocations: 3.656 kB / 0.9567 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.5153, allocations: 9.078 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.5153, allocations: 47.39 kB / 0.9568 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.526e-05/0.5154, allocations: 56.12 kB / 0.9568 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.5154, allocations: 0 / 0.9568 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5154, allocations: 0 / 0.9568 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.5154, allocations: 1.031 kB / 0.9568 GB, free: 6.418 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004321/0.5158, allocations: 404.5 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5159, allocations: 9.375 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.5159, allocations: 47.77 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.5159, allocations: 8.344 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.227e-05/0.516, allocations: 171.6 kB / 0.9574 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.516, allocations: 5.844 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.516, allocations: 10.91 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.5163, allocations: 115 kB / 0.9575 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5163, allocations: 0 / 0.9575 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.5163, allocations: 3.938 kB / 0.9575 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5163, allocations: 1.25 kB / 0.9576 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.5168, allocations: 137.6 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.5171, allocations: 303.1 kB / 0.958 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.5174, allocations: 114.4 kB / 0.9581 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.5176, allocations: 83.2 kB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.5176, allocations: 1.188 kB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.032e-05/0.5176, allocations: 31.62 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.5176, allocations: 0 / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007023/0.5183, allocations: 236.2 kB / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.5184, allocations: 57.22 kB / 0.9585 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.5184, allocations: 120.3 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.5184, allocations: 29.7 kB / 0.9586 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.5185, allocations: 90.73 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.5185, allocations: 22.39 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.5185, allocations: 11.03 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.5186, allocations: 321.2 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.5188, allocations: 68.94 kB / 0.9591 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.519, allocations: 70.56 kB / 0.9592 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.5194, allocations: 138 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5194, allocations: 4 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004371/0.5198, allocations: 170.2 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5199, allocations: 5.406 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5199, allocations: 0 / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.5199, allocations: 1.156 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.52, allocations: 39.28 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.52, allocations: 1.438 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5202, allocations: 24.97 kB / 0.9595 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5202, allocations: 9.188 kB / 0.9595 GB, free: 4.168 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 4.358e-05/0.5202, allocations: 113.8 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.5202, allocations: 10.16 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.5203, allocations: 13.64 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5203, allocations: 1.219 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5203, allocations: 448 / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.5203, allocations: 5.031 kB / 0.9597 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.5204, allocations: 186.5 kB / 0.9599 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5204, allocations: 4 kB / 0.9599 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5206, allocations: 37.19 kB / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.5206, allocations: 0 / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5206, allocations: 1.281 kB / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5206, allocations: 0 / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5206, allocations: 0 / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.5211, allocations: 282 kB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.5211, allocations: 86.34 kB / 0.9603 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5211, allocations: 1.25 kB / 0.9603 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.5212, allocations: 29.28 kB / 0.9603 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5213, allocations: 7.188 kB / 0.9603 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.5213, allocations: 0.7812 kB / 0.9603 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.5213, allocations: 96.52 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.72e-07/0.5213, allocations: 1 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002082/0.5216, allocations: 18.88 kB / 0.9604 GB, free: 3.383 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.0006164/0.5222, allocations: 0.8072 MB / 0.9612 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.5226, allocations: 148 kB / 0.9613 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5226, allocations: 0 / 0.9613 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.5229, allocations: 80.88 kB / 0.9614 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5231, allocations: 13.16 kB / 0.9614 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.5235, allocations: 215.7 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.5236, allocations: 0.6929 MB / 0.9623 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.5237, allocations: 2.375 kB / 0.9623 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.5237, allocations: 20.83 kB / 0.9623 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5237, allocations: 0 / 0.9623 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.668, allocations: 1.766 MB / 0.964 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.668, allocations: 231.1 kB / 0.9643 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/3.662, allocations: 0 / 0.9643 GB, free: 0.582 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches