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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001642/0.001642, 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.002107/0.002107, allocations: 191.5 kB / 16.14 MB, free: 6.648 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5731, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00175/0.5749, allocations: 0.5856 MB / 0.9496 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.5762, allocations: 1.129 MB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.5763, allocations: 0 / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.626e-05/0.5764, allocations: 5.25 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.5764, allocations: 5.188 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.5768, allocations: 140.1 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.5768, allocations: 12.64 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.5769, allocations: 1 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.5769, allocations: 9.156 kB / 0.9509 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.5769, allocations: 13.34 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.577, allocations: 0.8438 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.5773, allocations: 173.3 kB / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.5773, allocations: 18.98 kB / 0.9511 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.5773, allocations: 10.73 kB / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.5776, allocations: 181.3 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5776, allocations: 1.031 kB / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5776, allocations: 0 / 0.9513 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.5776, allocations: 0 / 0.9513 GB, free: 7.594 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.0002651/0.5779, allocations: 375 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5779, allocations: 10.34 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.5779, allocations: 110 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.578, allocations: 85.62 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.5781, allocations: 239.7 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5781, allocations: 152.8 kB / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.5781, allocations: 152.7 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.437e-05/0.5782, allocations: 110.4 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5782, allocations: 75.28 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.5782, allocations: 154.6 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5782, allocations: 150.6 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.5783, allocations: 164 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.5784, allocations: 452.7 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.88e-05/0.5785, allocations: 174.5 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.5785, allocations: 80.14 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.5785, allocations: 80.47 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.5786, allocations: 105.8 kB / 0.9538 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.5786, allocations: 9.25 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.368e-05/0.5786, allocations: 31.03 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.5787, allocations: 130.7 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.5787, allocations: 99.8 kB / 0.9541 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.5788, allocations: 27.27 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.5788, allocations: 81.77 kB / 0.9542 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.5788, allocations: 0 / 0.9542 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.5788, allocations: 27.27 kB / 0.9542 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.5789, allocations: 312 kB / 0.9545 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.5789, allocations: 12.92 kB / 0.9545 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.5789, allocations: 7 kB / 0.9545 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.579, allocations: 29.31 kB / 0.9546 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.579, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.5791, allocations: 54.41 kB / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5791, allocations: 5.125 kB / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5791, allocations: 0 / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.5791, allocations: 1.219 kB / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.5791, allocations: 0 / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5792, allocations: 5.469 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.5792, allocations: 9.359 kB / 0.9546 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.5793, allocations: 2.281 kB / 0.9546 GB, free: 4.02 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.481e-05/0.5793, allocations: 187.2 kB / 0.9548 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.5794, allocations: 110 kB / 0.9549 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.5794, allocations: 109 kB / 0.955 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.5794, allocations: 185.8 kB / 0.9552 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/0.5794, allocations: 185.6 kB / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.5795, allocations: 177.8 kB / 0.9555 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5796, allocations: 403.3 kB / 0.9559 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5796, allocations: 104.9 kB / 0.956 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.5796, allocations: 106.2 kB / 0.9561 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.361e-05/0.5797, allocations: 185.3 kB / 0.9563 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.5797, allocations: 181.4 kB / 0.9565 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.491e-05/0.5797, allocations: 185.1 kB / 0.9567 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.321e-05/0.5798, allocations: 181.4 kB / 0.9568 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.358e-05/0.5798, allocations: 307.2 kB / 0.9571 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.5799, allocations: 187.2 kB / 0.9573 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.5799, allocations: 182.3 kB / 0.9575 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.58, allocations: 102.1 kB / 0.9576 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.58, allocations: 184.2 kB / 0.9577 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.58, allocations: 102.2 kB / 0.9578 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.58, allocations: 87.8 kB / 0.9579 GB, free: 456 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.58, allocations: 0 / 0.9579 GB, free: 456 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003144/0.5804, allocations: 63.39 kB / 0.958 GB, free: 428 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.0008486/0.5812, allocations: 1.012 MB / 0.959 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.5813, allocations: 11.8 kB / 0.959 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5813, allocations: 1.688 kB / 0.959 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.5813, allocations: 0 / 0.959 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.5817, allocations: 0.5239 MB / 0.9595 GB, free: 15 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00105/0.5828, allocations: 1.343 MB / 0.9608 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.583, allocations: 0.6723 MB / 0.9615 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.5831, allocations: 9.078 kB / 0.9615 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5831, allocations: 21.27 kB / 0.9615 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5831, allocations: 0 / 0.9615 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.443/1.026, allocations: 2.382 MB / 0.9638 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.026, allocations: 318.3 kB / 0.9641 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.748, allocations: 1.406 kB / 0.9641 GB, free: 11.27 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