Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 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.001187/0.001187, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.259/1.259, 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 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.88 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5466, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001867/0.5485, allocations: 0.5319 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.55, allocations: 1.132 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.5501, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.5502, allocations: 3.984 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.5502, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.5508, allocations: 171.5 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.5508, allocations: 19.92 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.5509, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.5509, allocations: 8 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.551, allocations: 15.91 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.551, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.5514, allocations: 175.7 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.5514, allocations: 7.984 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.5515, allocations: 11.92 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.5518, allocations: 183.7 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5518, allocations: 8 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5518, allocations: 3.938 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5518, allocations: 0 / 1.02 GB, free: 192 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.0003681/0.5522, allocations: 369.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5522, allocations: 8.031 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.5523, allocations: 106 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.5524, allocations: 84.16 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5525, allocations: 247.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.5526, allocations: 154.9 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.5526, allocations: 154.9 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.428e-05/0.5527, allocations: 104.9 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.5527, allocations: 75.28 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.5528, allocations: 150.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.5528, allocations: 154.6 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.5529, allocations: 154.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.5532, allocations: 453.9 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.5532, allocations: 165.1 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.5533, allocations: 96.08 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.5533, allocations: 79.22 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.5534, allocations: 105.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5534, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.344e-05/0.5535, allocations: 29.64 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.5535, allocations: 130.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.5536, allocations: 105.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5536, allocations: 25.7 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.5537, allocations: 84.14 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.5537, allocations: 0 / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.5537, allocations: 17.7 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.5538, allocations: 314.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.5539, allocations: 8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.5539, allocations: 7.984 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.554, allocations: 32.88 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.554, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.5541, allocations: 57.53 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5541, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5541, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5541, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.5541, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5542, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.5542, allocations: 48 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.5543, allocations: 7.984 kB / 1.023 GB, free: 12.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 0.0001105/0.5544, allocations: 197.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.5544, allocations: 112.9 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.5545, allocations: 108 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.5546, allocations: 176.3 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.034e-05/0.5546, allocations: 188.2 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.5547, allocations: 184.3 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.5549, allocations: 405.2 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.5549, allocations: 108.9 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.555, allocations: 101.1 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-05/0.5551, allocations: 180.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.5551, allocations: 188.3 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.5552, allocations: 184.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.743e-05/0.5552, allocations: 184.2 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5554, allocations: 303.8 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.5554, allocations: 182 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.5555, allocations: 188.2 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.5556, allocations: 109 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.5557, allocations: 180.4 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.5557, allocations: 101 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.5558, allocations: 91.25 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5558, allocations: 0 / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003253/0.5561, allocations: 55.98 kB / 1.026 GB, free: 8.852 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.0008532/0.557, allocations: 1.019 MB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.557, allocations: 11.98 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5571, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.5571, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5574, allocations: 461.6 kB / 1.028 GB, free: 7.406 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.001099/0.5585, allocations: 1.329 MB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.5588, allocations: 0.6729 MB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.5588, allocations: 7.984 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.5589, allocations: 23.42 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.5589, allocations: 0 / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5443/1.103, allocations: 2.511 MB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/8.164, allocations: 6.906 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches