Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00114/0.00114, 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.001095/0.001095, allocations: 198.3 kB / 16.54 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7346 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.02 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2481, allocations: 157.4 MB / 1.053 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001854/0.25, allocations: 0.5457 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2515, allocations: 1.124 MB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.2516, allocations: 0 / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.2517, allocations: 11.94 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.2517, allocations: 0 / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.2522, allocations: 167.4 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.2523, allocations: 19.97 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.2523, allocations: 4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.2523, allocations: 4 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.2524, allocations: 15.92 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.2524, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.2528, allocations: 179.7 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.2528, allocations: 15.92 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2529, allocations: 4 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.2531, allocations: 183.7 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2531, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2531, allocations: 11.88 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2532, allocations: 0 / 1.055 GB, free: 5.914 MB / 0.8106 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.0003131/0.2535, allocations: 371.8 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2535, allocations: 8.625 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.2536, allocations: 106 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.2536, allocations: 80.22 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2538, allocations: 243.6 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.2539, allocations: 158.9 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.2539, allocations: 158.9 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.728e-05/0.254, allocations: 104.9 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.254, allocations: 75.28 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.2541, allocations: 150.6 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.2541, allocations: 158.4 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.2542, allocations: 150.6 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.2544, allocations: 453.9 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.2545, allocations: 165.1 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.2545, allocations: 84.14 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2546, allocations: 83.16 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.2546, allocations: 113.8 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2546, allocations: 0 / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.071e-05/0.2547, allocations: 30.19 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.2548, allocations: 126.7 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.2549, allocations: 105.8 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2549, allocations: 25.7 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.255, allocations: 84.12 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.255, allocations: 8 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.255, allocations: 17.7 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2552, allocations: 314.8 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.2552, allocations: 11.98 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.2552, allocations: 7.938 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.2553, allocations: 24.84 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2553, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.2554, allocations: 57.72 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2554, allocations: 5.094 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2554, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2555, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2555, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2555, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.2555, allocations: 11.92 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2556, allocations: 4 kB / 1.058 GB, free: 2.246 MB / 0.8106 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 8.129e-05/0.2557, allocations: 182.7 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.2557, allocations: 120.9 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.2558, allocations: 108.3 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.2558, allocations: 180.2 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.2559, allocations: 188.3 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.256, allocations: 180.3 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2562, allocations: 409.2 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/0.2562, allocations: 104.9 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.2562, allocations: 112.9 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-05/0.2563, allocations: 176.3 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.2564, allocations: 180.3 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.2564, allocations: 188.2 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.561e-05/0.2565, allocations: 184.3 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.2566, allocations: 299.8 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.2567, allocations: 197.9 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.2568, allocations: 176.3 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2568, allocations: 109 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2569, allocations: 180.2 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.2569, allocations: 101 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.257, allocations: 87.27 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.257, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002953/0.2573, allocations: 51.98 kB / 1.062 GB, free: 14.59 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.001425/0.2587, allocations: 1.019 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.2588, allocations: 11.98 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2588, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.2588, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2592, allocations: 455.7 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.001109/0.2603, allocations: 1.329 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2606, allocations: 0.6729 MB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.2606, allocations: 15.86 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.2606, allocations: 15.42 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2607, allocations: 0 / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8223/1.083, allocations: 2.517 MB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.846, allocations: 4.422 kB / 1.068 GB, free: 8.617 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches