Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001278/0.001278, allocations: 195 kB / 16.25 MB, free: 6.625 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.89 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7899, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002211/0.7922, allocations: 0.6006 MB / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.794, allocations: 1.187 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.794, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.7942, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.7942, allocations: 3.984 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.795, allocations: 255.6 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.7952, allocations: 75.88 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.7953, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.7953, allocations: 39.91 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.7954, allocations: 47.77 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.7954, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.7959, allocations: 187.7 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.7959, allocations: 8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.796, allocations: 35.84 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.7964, allocations: 255.5 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7964, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7964, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7964, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 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.0005074/0.797, allocations: 443.3 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.797, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.7971, allocations: 110 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.7972, allocations: 92.06 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.7973, allocations: 255.6 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.7974, allocations: 154.9 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.7975, allocations: 158.9 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/0.7976, allocations: 104.9 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.7976, allocations: 79.28 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.7976, allocations: 158.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.7977, allocations: 154.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.7978, allocations: 154.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.7981, allocations: 473.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.7981, allocations: 169.1 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.7982, allocations: 80.14 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.7982, allocations: 87.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.7983, allocations: 105.8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7983, allocations: 3.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.861e-05/0.7984, allocations: 37.64 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.7984, allocations: 130.7 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.7986, allocations: 155.8 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.7986, allocations: 25.7 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.7987, allocations: 88.14 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.7987, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.7988, allocations: 45.69 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7989, allocations: 314.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.799, allocations: 67.94 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.7991, allocations: 59.94 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.7993, allocations: 90.53 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7993, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003912/0.7997, allocations: 239 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.7997, allocations: 45.69 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.7997, allocations: 4 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7998, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.7998, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7998, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.8001, allocations: 31.88 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.8002, allocations: 12 kB / 1.024 GB, free: 11.7 MB / 0.7794 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.0001568/0.8003, allocations: 197.6 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.8004, allocations: 116.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.8005, allocations: 112.5 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.8005, allocations: 176.3 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-05/0.8006, allocations: 184.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.95e-05/0.8006, allocations: 176.3 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.8009, allocations: 421.1 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.8009, allocations: 112.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.8009, allocations: 109 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.177e-05/0.801, allocations: 184.2 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.8011, allocations: 176.3 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.522e-05/0.8011, allocations: 184.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.273e-05/0.8012, allocations: 184.3 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.8013, allocations: 311.7 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.8014, allocations: 182 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.8015, allocations: 188.2 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.8016, allocations: 105 kB / 1.026 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.8016, allocations: 176.3 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.8017, allocations: 108.9 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.8018, allocations: 111.2 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8018, allocations: 0 / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003583/0.8021, allocations: 67.98 kB / 1.027 GB, free: 7.969 MB / 0.7794 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.0009808/0.8031, allocations: 1.038 MB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.8034, allocations: 219.2 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8034, allocations: 0 / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.8035, allocations: 4.062 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.8038, allocations: 455.7 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.001779/0.8056, allocations: 1.865 MB / 1.03 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.8058, allocations: 0.6847 MB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.8059, allocations: 51.81 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.8059, allocations: 15.42 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.8059, allocations: 0 / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.927/7.732, allocations: 3.605 MB / 1.035 GB, free: 76 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/7.733, allocations: 289.7 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/9.316, allocations: 0 / 1.035 GB, free: 15.7 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches