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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001223/0.001223, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001286/0.001286, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.271/1.271, 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 10.1.0-maint.10.0.x/package.mo): time 2.388/2.388, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5861, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002144/0.5883, allocations: 0.6123 MB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.5904, allocations: 1.21 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.5904, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5906, allocations: 7.969 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.5906, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.5914, allocations: 250.7 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5915, allocations: 67.88 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.5915, allocations: 7.984 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.5916, allocations: 39.86 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.5917, allocations: 43.83 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.5917, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.5922, allocations: 183.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.5923, allocations: 11.98 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.5923, allocations: 43.78 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.5928, allocations: 243.6 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5928, allocations: 4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5928, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5928, allocations: 0 / 1.019 GB, free: 76 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.000534/0.5934, allocations: 448.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5934, allocations: 8.031 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.5935, allocations: 110 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.5936, allocations: 92.12 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.5938, allocations: 251.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.5939, allocations: 154.9 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.5939, allocations: 154.9 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.594, allocations: 108.9 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.5941, allocations: 75.28 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.5941, allocations: 154.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.5942, allocations: 150.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.5942, allocations: 158.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.5946, allocations: 473.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.5947, allocations: 169.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.5947, allocations: 80.14 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.5948, allocations: 87.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5948, allocations: 113.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5948, allocations: 3.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.5949, allocations: 33.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.595, allocations: 130.7 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5952, allocations: 145.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.5952, allocations: 29.7 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.5953, allocations: 92.12 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.5953, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.5954, allocations: 45.69 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5955, allocations: 318.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5957, allocations: 67.94 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5958, allocations: 55.95 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5959, allocations: 98.45 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5959, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004105/0.5964, allocations: 235.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.5964, allocations: 45.69 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5964, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5965, allocations: 7.984 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.5965, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5965, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.5968, allocations: 23.95 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.5969, allocations: 15.98 kB / 1.023 GB, free: 11.76 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.0001322/0.597, allocations: 197.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.5971, allocations: 116.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.5971, allocations: 108.5 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/0.5972, allocations: 176.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/0.5973, allocations: 188.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/0.5973, allocations: 176.3 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5976, allocations: 421.1 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/0.5976, allocations: 104.9 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.5977, allocations: 108.9 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/0.5978, allocations: 184.2 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/0.5978, allocations: 180.3 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-05/0.5979, allocations: 180.2 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-05/0.598, allocations: 184.3 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.5981, allocations: 311.7 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.5982, allocations: 182 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.5983, allocations: 188.2 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.5984, allocations: 101 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.5984, allocations: 180.2 kB / 1.026 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.5985, allocations: 105 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.605e-05/0.5986, allocations: 108.5 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5986, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003752/0.599, allocations: 71.97 kB / 1.027 GB, free: 8.039 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.001087/0.6001, allocations: 1.05 MB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.6004, allocations: 211.3 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6004, allocations: 0 / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.6004, allocations: 8.047 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.6008, allocations: 0.5262 MB / 1.028 GB, free: 6.277 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001864/0.6027, allocations: 1.863 MB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.6029, allocations: 0.6889 MB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.647e-05/0.603, allocations: 51.81 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.6031, allocations: 11.44 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.6031, allocations: 0 / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.359/4.962, allocations: 3.541 MB / 1.034 GB, free: 128 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/4.963, allocations: 292.5 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/6.536, allocations: 2.75 kB / 1.035 GB, free: 15.74 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