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.001144/0.001145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001116/0.001116, allocations: 189.5 kB / 16.25 MB, free: 6.645 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.441 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.59/2.59, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7196, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002129/0.7218, allocations: 0.5928 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.7234, allocations: 1.116 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.7234, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.7235, allocations: 8 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.7236, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.7241, allocations: 139.7 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.7241, allocations: 23.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.7242, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.7242, allocations: 11.97 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.7243, allocations: 11.94 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.7243, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.7247, allocations: 185.8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.7247, allocations: 8 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.7248, allocations: 8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.7251, allocations: 191.6 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7251, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7251, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.7251, allocations: 0 / 1.019 GB, free: 420 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.0004107/0.7255, allocations: 373.7 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7256, allocations: 12.08 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.7256, allocations: 106 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.7257, allocations: 80.22 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.7259, allocations: 235.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.726, allocations: 170.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.726, allocations: 154.9 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.783e-05/0.7261, allocations: 104.9 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7262, allocations: 75.28 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.7262, allocations: 158.5 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.7263, allocations: 150.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.7263, allocations: 154.6 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.7266, allocations: 453.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.7267, allocations: 177.2 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.7268, allocations: 80.14 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.7268, allocations: 79.22 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.7268, allocations: 109.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7269, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.755e-05/0.7269, allocations: 33.64 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.727, allocations: 130.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.7271, allocations: 105.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.7271, allocations: 25.7 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.7272, allocations: 84.14 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.7272, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.7273, allocations: 17.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7274, allocations: 318.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.7274, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.7275, allocations: 15.98 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.7275, allocations: 24.84 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7275, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.7277, allocations: 57.56 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7277, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7277, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7277, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.7277, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7277, allocations: 128 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.7278, allocations: 4 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.7278, allocations: 7.984 kB / 1.023 GB, free: 12.73 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.0001179/0.728, allocations: 193 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.728, allocations: 104.9 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.7281, allocations: 112 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/0.7282, allocations: 176.3 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-05/0.7283, allocations: 192.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.45e-05/0.7284, allocations: 176.3 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.7286, allocations: 401.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/0.7286, allocations: 112.8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.7287, allocations: 101 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/0.7288, allocations: 184.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.7288, allocations: 184.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/0.7289, allocations: 176.3 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.366e-05/0.729, allocations: 184.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.7291, allocations: 315.7 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.7292, allocations: 182 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.7293, allocations: 188.2 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.7294, allocations: 104.9 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.7295, allocations: 176.3 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.7296, allocations: 104.9 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.7296, allocations: 87.45 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7296, allocations: 0 / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003232/0.7299, allocations: 63.88 kB / 1.026 GB, free: 9.062 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.0009927/0.7309, allocations: 1.013 MB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.7311, allocations: 19.94 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7311, allocations: 4 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.7311, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.7315, allocations: 459.7 kB / 1.027 GB, free: 7.613 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.00111/0.7326, allocations: 1.325 MB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.7328, allocations: 0.6729 MB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.7329, allocations: 7.984 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.7329, allocations: 11.47 kB / 1.029 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7329, allocations: 4 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.456/7.189, allocations: 2.431 MB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/7.19, allocations: 319.6 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/8.755, allocations: 7.234 kB / 1.032 GB, free: 2.805 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