Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001458/0.001458, 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.001419/0.001419, allocations: 194.9 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 65.97 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.249, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00157/0.2506, allocations: 0.524 MB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.252, allocations: 1.142 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.252, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.673e-05/0.2521, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.2521, allocations: 3.938 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.2526, allocations: 168.2 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.2526, allocations: 19.91 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.607e-05/0.2526, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.2527, allocations: 7.984 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.2527, allocations: 15.94 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2527, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.2531, allocations: 179.7 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.2531, allocations: 15.94 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.2531, allocations: 4 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.2534, allocations: 179.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2534, allocations: 3.938 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2534, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2534, allocations: 3.984 kB / 1.066 GB, free: 11.91 MB / 0.8262 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.0003243/0.2538, allocations: 367.8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2538, allocations: 8.031 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.2538, allocations: 110 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.2539, allocations: 88.22 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2541, allocations: 243.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.2541, allocations: 154.9 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.2542, allocations: 154.9 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.984e-05/0.2543, allocations: 104.9 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.2543, allocations: 79.28 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.2544, allocations: 154.5 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/0.2544, allocations: 154.5 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.706e-05/0.2545, allocations: 154.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.2547, allocations: 446 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.2548, allocations: 173.1 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.2549, allocations: 84.14 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2549, allocations: 83.22 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.255, allocations: 109.8 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.255, allocations: 3.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.822e-05/0.255, allocations: 29.61 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.2551, allocations: 130.7 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2552, allocations: 105.8 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2552, allocations: 25.7 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.2553, allocations: 80.14 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.2553, allocations: 4 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2553, allocations: 17.72 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2554, allocations: 314.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.2555, allocations: 12 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.2555, allocations: 7.984 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.2555, allocations: 24.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2555, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.2557, allocations: 61.59 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.2557, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2557, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.2557, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.2557, allocations: 128 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.2557, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.2558, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2558, allocations: 4 kB / 1.07 GB, free: 8.242 MB / 0.8262 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 9.349e-05/0.2559, allocations: 185.1 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.256, allocations: 116.8 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.256, allocations: 104.1 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/0.2561, allocations: 180.3 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.631e-05/0.2562, allocations: 184.3 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.384e-05/0.2562, allocations: 180.3 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.2564, allocations: 405.2 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.2565, allocations: 109 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.2565, allocations: 105 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/0.2566, allocations: 188.2 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.2567, allocations: 188.3 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-05/0.2567, allocations: 180.2 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-05/0.2568, allocations: 180.3 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.257, allocations: 319.7 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.257, allocations: 182 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.2571, allocations: 180.2 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.2572, allocations: 101 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.2573, allocations: 188.2 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.2573, allocations: 101 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.2574, allocations: 87.28 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2574, allocations: 3.938 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002652/0.2576, allocations: 55.98 kB / 1.073 GB, free: 4.574 MB / 0.8262 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.0009566/0.2586, allocations: 1.011 MB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.2587, allocations: 8 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2587, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.2587, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.259, allocations: 463.8 kB / 1.074 GB, free: 3.137 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.0009802/0.26, allocations: 1.325 MB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2603, allocations: 0.6768 MB / 1.076 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.2603, allocations: 15.83 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2604, allocations: 19.52 kB / 1.076 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2604, allocations: 0 / 1.076 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.509/5.769, allocations: 2.504 MB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/16.76, allocations: 9 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches