Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_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_9_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.001245/0.001246, 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.001216/0.001216, allocations: 195.2 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.093/2.093, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 71.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5035, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001531/0.5051, allocations: 0.5388 MB / 0.9503 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.5062, allocations: 1.186 MB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.5063, allocations: 0 / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.495e-05/0.5063, allocations: 9.719 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.5064, allocations: 3.938 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.5069, allocations: 277.8 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.507, allocations: 74.56 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.507, allocations: 12.36 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.5071, allocations: 39.12 kB / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.5071, allocations: 37.03 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.5072, allocations: 3.688 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.5075, allocations: 182.5 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.5075, allocations: 15.45 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.5076, allocations: 28.05 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.5079, allocations: 252.5 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5079, allocations: 0 / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5079, allocations: 7.938 kB / 0.9523 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.5079, allocations: 1.5 kB / 0.9523 GB, free: 7.258 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002923/0.5082, allocations: 441.8 kB / 0.9527 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.5082, allocations: 9.281 kB / 0.9527 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.894e-05/0.5082, allocations: 107.8 kB / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.5083, allocations: 92.88 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.5084, allocations: 251.1 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5084, allocations: 161.5 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.5085, allocations: 161.5 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.762e-05/0.5085, allocations: 104.9 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5085, allocations: 76.31 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.5086, allocations: 150.6 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5086, allocations: 155.3 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.5086, allocations: 154.6 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.5088, allocations: 469.7 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/0.5088, allocations: 166.7 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.5088, allocations: 80.14 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.5089, allocations: 88.34 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.5089, allocations: 107.3 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5089, allocations: 0 / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.515e-05/0.509, allocations: 47.22 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.509, allocations: 128.2 kB / 0.9551 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5091, allocations: 144 kB / 0.9553 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5091, allocations: 28.33 kB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.5092, allocations: 97.25 kB / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.5092, allocations: 0 / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.5092, allocations: 39.17 kB / 0.9554 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.5093, allocations: 325.4 kB / 0.9557 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.5094, allocations: 56.8 kB / 0.9558 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.5095, allocations: 65.78 kB / 0.9559 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.5096, allocations: 95.14 kB / 0.9559 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5096, allocations: 0 / 0.9559 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003096/0.5099, allocations: 235.1 kB / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5099, allocations: 42.38 kB / 0.9562 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.5099, allocations: 0 / 0.9562 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.5099, allocations: 1.5 kB / 0.9562 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.51, allocations: 4 kB / 0.9562 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.51, allocations: 0 / 0.9562 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.5102, allocations: 29.94 kB / 0.9562 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.5103, allocations: 18.92 kB / 0.9563 GB, free: 3.355 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: 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 6.559e-05/0.5103, allocations: 198.4 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.5104, allocations: 115.9 kB / 0.9566 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.5104, allocations: 114.8 kB / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.5104, allocations: 181.6 kB / 0.9568 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.5104, allocations: 176.3 kB / 0.957 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.5105, allocations: 181.7 kB / 0.9572 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.5106, allocations: 420.3 kB / 0.9576 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5106, allocations: 106.1 kB / 0.9577 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.5106, allocations: 105.1 kB / 0.9578 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/0.5106, allocations: 185.2 kB / 0.958 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5107, allocations: 177.4 kB / 0.9581 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/0.5107, allocations: 189.3 kB / 0.9583 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/0.5107, allocations: 181.8 kB / 0.9585 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.866e-05/0.5108, allocations: 308.8 kB / 0.9588 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.5108, allocations: 192.2 kB / 0.959 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5108, allocations: 181.4 kB / 0.9591 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.5109, allocations: 110 kB / 0.9592 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.5109, allocations: 185.2 kB / 0.9594 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.511, allocations: 102.5 kB / 0.9595 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.511, allocations: 108.4 kB / 0.9596 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5111, allocations: 1.281 kB / 0.9596 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003042/0.5114, allocations: 71.8 kB / 0.9597 GB, free: 15.72 MB / 0.7325 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.000861/0.5122, allocations: 1.035 MB / 0.9607 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.5125, allocations: 209.7 kB / 0.9609 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5125, allocations: 3.625 kB / 0.9609 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.5125, allocations: 0 / 0.9609 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.5128, allocations: 458.9 kB / 0.9613 GB, free: 14.22 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.001573/0.5144, allocations: 1.854 MB / 0.9631 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.5146, allocations: 0.6834 MB / 0.9638 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.575e-05/0.5147, allocations: 56.05 kB / 0.9639 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.5147, allocations: 11.44 kB / 0.9639 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5147, allocations: 4.031 kB / 0.9639 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8774/1.392, allocations: 3.67 MB / 0.9675 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/8.643, allocations: 8.047 kB / 0.9675 GB, free: 9.867 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches