Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.001965/0.001965, 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.002322/0.002321, allocations: 189.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.698/2.698, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.395/5.395, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 71.08 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5576, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.003381/0.5611, allocations: 0.6105 MB / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.5642, allocations: 1.179 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.5643, allocations: 0 / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.5645, allocations: 7.922 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.5646, allocations: 4 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.5661, allocations: 259.2 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.5664, allocations: 79.81 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.96e-05/0.5665, allocations: 11.92 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.5666, allocations: 35.92 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.5667, allocations: 43.89 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.5668, allocations: 4 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007668/0.5676, allocations: 187.7 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.5676, allocations: 7.984 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.5677, allocations: 39.84 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.5685, allocations: 255.5 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5685, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.427e-06/0.5685, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5685, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001028/0.5696, allocations: 445.3 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.033e-05/0.5697, allocations: 12.62 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.5698, allocations: 106 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.57, allocations: 84.22 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.5703, allocations: 255.5 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5704, allocations: 158.9 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.5706, allocations: 154.9 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5707, allocations: 112.9 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.246e-05/0.5708, allocations: 75.28 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5709, allocations: 150.6 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.571, allocations: 154.6 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5711, allocations: 150.6 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.5718, allocations: 469.9 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.5719, allocations: 169.1 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.572, allocations: 84.14 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.5721, allocations: 87.16 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/0.5722, allocations: 113.8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.5722, allocations: 0 / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001773/0.5724, allocations: 33.7 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5725, allocations: 130.6 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.5728, allocations: 147.8 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.5729, allocations: 29.7 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.573, allocations: 96.03 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.573, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.5732, allocations: 41.69 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5734, allocations: 318.8 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.5737, allocations: 59.94 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.5738, allocations: 55.95 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.5741, allocations: 106.6 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5741, allocations: 3.938 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006549/0.5748, allocations: 231.1 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/0.5749, allocations: 41.69 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5749, allocations: 0 / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.5749, allocations: 3.984 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.5749, allocations: 0 / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5749, allocations: 0 / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.5755, allocations: 23.89 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.5756, allocations: 16.02 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002238/0.5758, allocations: 201.1 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5759, allocations: 112.8 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.576, allocations: 112.5 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/0.5761, allocations: 176.3 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-05/0.5762, allocations: 192.2 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/0.5764, allocations: 184.2 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.5768, allocations: 413.2 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-05/0.5768, allocations: 108.9 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.5769, allocations: 101 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.577, allocations: 180.2 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.5772, allocations: 188.2 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.894e-05/0.5773, allocations: 176.3 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001047/0.5774, allocations: 184.2 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.5776, allocations: 311.7 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5778, allocations: 182 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5779, allocations: 184.5 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5781, allocations: 104.9 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5782, allocations: 184.3 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5783, allocations: 113 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001247/0.5785, allocations: 103.3 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5785, allocations: 0 / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006913/0.5792, allocations: 79.97 kB / 1.062 GB, free: 13.92 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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.001746/0.5809, allocations: 1.037 MB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.5815, allocations: 215.3 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5815, allocations: 0 / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-06/0.5815, allocations: 3.938 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.5822, allocations: 467.7 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.5855, allocations: 1.866 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.5859, allocations: 0.6806 MB / 1.067 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.586, allocations: 52 kB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.5861, allocations: 11.44 kB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.5861, allocations: 0 / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.051/5.637, allocations: 3.607 MB / 1.07 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006116/5.638, allocations: 296 kB / 1.07 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/9.354, allocations: 3.031 kB / 1.07 GB, free: 5.652 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches