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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001482/0.001482, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.306/2.306, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6326, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002549/0.6352, allocations: 1.653 MB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.6353, allocations: 58.55 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.6354, allocations: 1.344 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.6354, allocations: 0 / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.6355, allocations: 10.53 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.741e-05/0.6356, allocations: 13.27 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.6356, allocations: 75.89 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6358, allocations: 22.75 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.6358, allocations: 23.14 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.6359, allocations: 37.3 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.6359, allocations: 2.969 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.6359, allocations: 3.562 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.6359, allocations: 13.42 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.636, allocations: 28.14 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.447e-05/0.6361, allocations: 54.67 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6361, allocations: 4 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6361, allocations: 0 / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6361, allocations: 1.406 kB / 0.951 GB, free: 7.523 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.0005308/0.6366, allocations: 396.7 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6367, allocations: 8.656 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.6367, allocations: 40 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.6368, allocations: 9.906 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.6368, allocations: 179.4 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6369, allocations: 2.062 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.6369, allocations: 7.156 kB / 0.9516 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.6372, allocations: 90.62 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6372, allocations: 0 / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.6372, allocations: 9.031 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6372, allocations: 1.562 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.6376, allocations: 103.6 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.6379, allocations: 310.8 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.6383, allocations: 87.86 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.6385, allocations: 64.48 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.6385, allocations: 5.359 kB / 0.9523 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.6385, allocations: 39.94 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.6385, allocations: 0 / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006899/0.6392, allocations: 191.8 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.6393, allocations: 52.91 kB / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.6393, allocations: 116 kB / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.6393, allocations: 26.52 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.6394, allocations: 94.16 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.6394, allocations: 18.72 kB / 0.9528 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.6395, allocations: 17.47 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.6395, allocations: 328.3 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.6397, allocations: 59.47 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.6399, allocations: 44.61 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.6403, allocations: 107 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6403, allocations: 1 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004278/0.6407, allocations: 141.1 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6407, allocations: 9.531 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6408, allocations: 0 / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6408, allocations: 1.344 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6409, allocations: 27.78 kB / 0.9535 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6409, allocations: 5.5 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.641, allocations: 21.56 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.6411, allocations: 5.531 kB / 0.9535 GB, free: 5.289 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 5.677e-05/0.6411, allocations: 116.6 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.6412, allocations: 2.812 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.6412, allocations: 10.69 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6412, allocations: 1.5 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6412, allocations: 0 / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6412, allocations: 3.984 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.6413, allocations: 190.9 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6414, allocations: 0 / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.6415, allocations: 24.75 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6415, allocations: 5.281 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.6415, allocations: 0 / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6415, allocations: 1.281 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6415, allocations: 3.938 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.642, allocations: 248.5 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.642, allocations: 82.42 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.642, allocations: 0.8438 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.6422, allocations: 18.81 kB / 0.9542 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.6422, allocations: 10.92 kB / 0.9542 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.6422, allocations: 1.438 kB / 0.9542 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.6423, allocations: 96.58 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6423, allocations: 0 / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.6425, allocations: 23.25 kB / 0.9543 GB, free: 4.512 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.0006285/0.6431, allocations: 0.7726 MB / 0.9551 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.6436, allocations: 110.8 kB / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6436, allocations: 0 / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.6438, allocations: 62.8 kB / 0.9552 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.6441, allocations: 13.88 kB / 0.9553 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.6446, allocations: 222.1 kB / 0.9555 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6447, allocations: 0.6851 MB / 0.9561 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.6448, allocations: 2.062 kB / 0.9561 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.6448, allocations: 21.42 kB / 0.9562 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6449, allocations: 3.938 kB / 0.9562 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3502/0.995, allocations: 1.817 MB / 0.9579 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.9953, allocations: 229.5 kB / 0.9582 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.605, allocations: 0 / 0.9582 GB, free: 1.648 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