Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_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_9_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.001019/0.001019, allocations: 108 kB / 15.61 MB, free: 128 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.001018/0.001018, allocations: 198.7 kB / 16.53 MB, free: 6.672 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.183/1.183, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.086/2.086, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4872, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00155/0.4888, allocations: 0.5368 MB / 0.9502 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4898, allocations: 1.128 MB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.4899, allocations: 1.438 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.178e-05/0.4899, allocations: 3.984 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.49, allocations: 5.062 kB / 0.9514 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.4904, allocations: 180.3 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.4904, allocations: 12.72 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.4905, allocations: 6.109 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.4905, allocations: 8.484 kB / 0.9516 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.4905, allocations: 8.5 kB / 0.9516 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4905, allocations: 1 kB / 0.9516 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.4908, allocations: 182.7 kB / 0.9517 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.4909, allocations: 10.16 kB / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.4909, allocations: 10.84 kB / 0.9518 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.4911, allocations: 189.4 kB / 0.9519 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4912, allocations: 1.25 kB / 0.9519 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4912, allocations: 0 / 0.9519 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4912, allocations: 0 / 0.9519 GB, free: 7.617 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.0002311/0.4914, allocations: 370.2 kB / 0.9523 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.4914, allocations: 10.06 kB / 0.9523 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.251e-05/0.4915, allocations: 110 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.4915, allocations: 81.59 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.4916, allocations: 245.1 kB / 0.9527 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4916, allocations: 152.3 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.4916, allocations: 156.4 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.415e-05/0.4917, allocations: 106.4 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4917, allocations: 79.27 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4917, allocations: 154.6 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.4917, allocations: 152 kB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.4918, allocations: 154.5 kB / 0.9536 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.4919, allocations: 448.6 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/0.492, allocations: 174.5 kB / 0.9542 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.492, allocations: 81.2 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.492, allocations: 79.22 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.492, allocations: 107 kB / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.492, allocations: 0 / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.777e-05/0.4921, allocations: 32.33 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.4921, allocations: 130.7 kB / 0.9546 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.4922, allocations: 103.5 kB / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.4922, allocations: 27.17 kB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.4922, allocations: 81.39 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.4922, allocations: 0 / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.4922, allocations: 18.81 kB / 0.9549 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.4923, allocations: 320.4 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.4923, allocations: 4.406 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.4923, allocations: 15.42 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.4924, allocations: 24.8 kB / 0.9552 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4924, allocations: 1.062 kB / 0.9552 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.4925, allocations: 58.7 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4925, allocations: 4.312 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4925, allocations: 1.25 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.4925, allocations: 0 / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.4925, allocations: 0 / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4925, allocations: 1.281 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.4926, allocations: 5.516 kB / 0.9553 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4926, allocations: 2.812 kB / 0.9553 GB, free: 4.066 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: 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 4.762e-05/0.4927, allocations: 203.4 kB / 0.9555 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.4927, allocations: 110.3 kB / 0.9556 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.4928, allocations: 109.2 kB / 0.9557 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4928, allocations: 177.7 kB / 0.9558 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.4928, allocations: 184.2 kB / 0.956 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.4928, allocations: 185.6 kB / 0.9562 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.4929, allocations: 407.7 kB / 0.9566 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.4929, allocations: 106.5 kB / 0.9567 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.493, allocations: 105 kB / 0.9568 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/0.493, allocations: 186 kB / 0.957 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.493, allocations: 190 kB / 0.9571 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.493, allocations: 180.2 kB / 0.9573 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/0.493, allocations: 178 kB / 0.9575 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.862e-05/0.4931, allocations: 306.6 kB / 0.9578 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.4931, allocations: 187.4 kB / 0.958 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4932, allocations: 181.7 kB / 0.9581 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.4932, allocations: 106.3 kB / 0.9582 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4932, allocations: 185.5 kB / 0.9584 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4932, allocations: 101 kB / 0.9585 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.4933, allocations: 83.5 kB / 0.9586 GB, free: 484 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4933, allocations: 4 kB / 0.9586 GB, free: 480 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002665/0.4935, allocations: 59.17 kB / 0.9586 GB, free: 456 kB / 0.7169 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.0006849/0.4942, allocations: 1.009 MB / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.4943, allocations: 11.42 kB / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4943, allocations: 0 / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4943, allocations: 1.344 kB / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4946, allocations: 461.3 kB / 0.9601 GB, free: 15.1 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.0009129/0.4956, allocations: 1.326 MB / 0.9614 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4958, allocations: 0.679 MB / 0.962 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.4958, allocations: 10.33 kB / 0.9621 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.4959, allocations: 12.44 kB / 0.9621 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.4959, allocations: 4.031 kB / 0.9621 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7819/1.278, allocations: 2.505 MB / 0.9645 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/8.227, allocations: 31.09 kB / 0.9645 GB, free: 11.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches