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.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.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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.326/2.326, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.84 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5103, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002342/0.5127, allocations: 1.588 MB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.5128, allocations: 55.56 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.5128, allocations: 1.469 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.5129, allocations: 7.875 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.5129, allocations: 17.06 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.512e-05/0.513, allocations: 22.39 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.5131, allocations: 76.2 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.5132, allocations: 16.3 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.5132, allocations: 25.42 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.5133, allocations: 36.92 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5133, allocations: 6.875 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.5133, allocations: 5.438 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.5133, allocations: 17.11 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.5134, allocations: 31.52 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.5135, allocations: 63.22 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5135, allocations: 1.156 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5135, allocations: 0 / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.5135, allocations: 0 / 0.9517 GB, free: 7.633 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.0004299/0.5139, allocations: 396.6 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.514, allocations: 14.06 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.299e-05/0.514, allocations: 36 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.514, allocations: 4.75 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.723e-05/0.5141, allocations: 176 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.5141, allocations: 5.5 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.5141, allocations: 6.688 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.5144, allocations: 92.09 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.5144, allocations: 4 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5144, allocations: 1.562 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.5144, allocations: 0 / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.5148, allocations: 100.7 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.5151, allocations: 314.3 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.5154, allocations: 88.3 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.5156, allocations: 64.86 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.5156, allocations: 1.219 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.5156, allocations: 30.56 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5156, allocations: 1.531 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006394/0.5163, allocations: 195.9 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.5163, allocations: 52.72 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.5164, allocations: 115.8 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.5164, allocations: 25.7 kB / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.5164, allocations: 98.73 kB / 0.9534 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.5164, allocations: 18.75 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.5165, allocations: 25.5 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.5165, allocations: 324.8 kB / 0.9538 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.5167, allocations: 46.53 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5169, allocations: 48.86 kB / 0.9538 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.5173, allocations: 116.5 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5173, allocations: 0 / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004034/0.5177, allocations: 144.8 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5177, allocations: 4.844 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5177, allocations: 0 / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5177, allocations: 1.438 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.5178, allocations: 25.06 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5179, allocations: 0 / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.518, allocations: 22.34 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.518, allocations: 9.375 kB / 0.9542 GB, free: 5.41 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.49e-05/0.518, allocations: 116.4 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5181, allocations: 4.312 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.5181, allocations: 17.67 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5181, allocations: 0 / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5181, allocations: 1.469 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5181, allocations: 3.984 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.5182, allocations: 186.9 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5182, allocations: 0 / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5184, allocations: 28.97 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5184, allocations: 0 / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5184, allocations: 1.125 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5184, allocations: 0 / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5184, allocations: 1.375 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.5188, allocations: 240.4 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.5188, allocations: 82.2 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.5189, allocations: 5.125 kB / 0.9548 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.519, allocations: 22.16 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.519, allocations: 10.77 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.519, allocations: 1.438 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.5191, allocations: 103.8 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5191, allocations: 1.5 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/0.5193, allocations: 19.28 kB / 0.955 GB, free: 4.629 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.0005812/0.5199, allocations: 0.7691 MB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.5203, allocations: 115 kB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5203, allocations: 4.844 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.5205, allocations: 57.53 kB / 0.9559 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5208, allocations: 13.36 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.5213, allocations: 199.1 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.463e-05/0.5214, allocations: 0.6923 MB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.5215, allocations: 1.062 kB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.5215, allocations: 22.7 kB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.5215, allocations: 4 kB / 0.9568 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/0.8979, allocations: 2.141 MB / 0.9589 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/8.271, allocations: 5.625 kB / 0.9589 GB, free: 1.801 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