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.001284/0.001284, 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.001475/0.001475, allocations: 196.3 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.154/2.154, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.559, allocations: 140.4 MB / 0.9492 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001786/0.5608, allocations: 0.5849 MB / 0.9498 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.5619, allocations: 1.118 MB / 0.9509 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.562, allocations: 0 / 0.9509 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.159e-05/0.5621, allocations: 5.312 kB / 0.9509 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.5621, allocations: 3.938 kB / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.5625, allocations: 150 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.5625, allocations: 14.2 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.5626, allocations: 0 / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.5626, allocations: 13.73 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.013e-05/0.5627, allocations: 9.438 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5627, allocations: 5.25 kB / 0.9511 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.563, allocations: 182.3 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.563, allocations: 6.688 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.563, allocations: 6.734 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.5632, allocations: 195.3 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5633, allocations: 4 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5633, allocations: 0 / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5633, allocations: 0 / 0.9515 GB, free: 7.637 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.0002489/0.5635, allocations: 371 kB / 0.9518 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5636, allocations: 12.69 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.5636, allocations: 107.4 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.5637, allocations: 77.72 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.5637, allocations: 235.7 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5638, allocations: 152.6 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5638, allocations: 152.5 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.866e-05/0.5638, allocations: 114.5 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5639, allocations: 75.28 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5639, allocations: 154.5 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5639, allocations: 154.6 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.5639, allocations: 152.2 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.5641, allocations: 452.8 kB / 0.9536 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.5641, allocations: 174.8 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.5642, allocations: 80.14 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.5642, allocations: 79.22 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.5642, allocations: 107.5 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5642, allocations: 4 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.147e-05/0.5643, allocations: 31.7 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.5643, allocations: 126.7 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.5644, allocations: 107.5 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.5644, allocations: 31.27 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.5644, allocations: 85.64 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.5644, allocations: 7.922 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.5645, allocations: 14.62 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.5645, allocations: 319.9 kB / 0.9547 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.5645, allocations: 5.125 kB / 0.9547 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.5646, allocations: 15.52 kB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.5646, allocations: 17.36 kB / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5646, allocations: 0 / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.5647, allocations: 62.92 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5648, allocations: 5.562 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5648, allocations: 128 / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5648, allocations: 4 kB / 0.9548 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.5648, allocations: 5.406 kB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5648, allocations: 0 / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.5649, allocations: 1.219 kB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.5649, allocations: 2.562 kB / 0.9548 GB, free: 4.078 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 5.417e-05/0.565, allocations: 187.6 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.565, allocations: 110.3 kB / 0.9551 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.565, allocations: 113.5 kB / 0.9552 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.565, allocations: 185.6 kB / 0.9554 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.5651, allocations: 176.3 kB / 0.9556 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.5651, allocations: 181.4 kB / 0.9557 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.5652, allocations: 399.9 kB / 0.9561 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.5652, allocations: 118 kB / 0.9562 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.5653, allocations: 106.4 kB / 0.9563 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.5653, allocations: 180.3 kB / 0.9565 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5653, allocations: 181.2 kB / 0.9567 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.5653, allocations: 177.5 kB / 0.9568 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.5654, allocations: 181.4 kB / 0.957 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.498e-05/0.5654, allocations: 312 kB / 0.9573 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.5654, allocations: 187.6 kB / 0.9575 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.5655, allocations: 176.3 kB / 0.9577 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.5655, allocations: 106.4 kB / 0.9578 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5656, allocations: 189.6 kB / 0.9579 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.5656, allocations: 101 kB / 0.958 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.5656, allocations: 79.25 kB / 0.9581 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5656, allocations: 0 / 0.9581 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002763/0.5659, allocations: 63.95 kB / 0.9582 GB, free: 492 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.0007743/0.5667, allocations: 1.016 MB / 0.9592 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.5668, allocations: 12.38 kB / 0.9592 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5668, allocations: 4.062 kB / 0.9592 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.5668, allocations: 7.938 kB / 0.9592 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5671, allocations: 453.1 kB / 0.9596 GB, free: 15.12 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.000953/0.5681, allocations: 1.331 MB / 0.9609 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.5683, allocations: 0.6832 MB / 0.9616 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.5683, allocations: 10.64 kB / 0.9616 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.5684, allocations: 12.22 kB / 0.9616 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5684, allocations: 3.938 kB / 0.9616 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5334/1.102, allocations: 2.429 MB / 0.964 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.102, allocations: 312 kB / 0.9643 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.696, allocations: 1.5 kB / 0.9643 GB, free: 11.36 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