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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001118/0.001118, 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.00121/0.00121, allocations: 194.5 kB / 16.14 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.12 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002127/0.3049, allocations: 0.6076 MB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3066, allocations: 1.124 MB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3066, allocations: 0 / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.3067, allocations: 4 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.3068, allocations: 4 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.3072, allocations: 131.7 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.3073, allocations: 23.92 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.3073, allocations: 4 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.3074, allocations: 7.984 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.3074, allocations: 15.92 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3074, allocations: 0 / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.3079, allocations: 179.7 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.3079, allocations: 7.938 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.308, allocations: 8 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.3083, allocations: 187.7 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3084, allocations: 7.922 kB / 1.054 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3084, allocations: 0 / 1.054 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3084, allocations: 0 / 1.054 GB, free: 5.895 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.0004341/0.3088, allocations: 367.9 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3089, allocations: 8.031 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.3089, allocations: 106 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.309, allocations: 76.22 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3092, allocations: 243.6 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.3093, allocations: 154.9 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.3093, allocations: 166.9 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.3094, allocations: 104.9 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.3095, allocations: 75.28 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.3095, allocations: 154.5 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.3096, allocations: 158.5 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.3096, allocations: 150.6 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.31, allocations: 450 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.3101, allocations: 173.1 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.3101, allocations: 80.14 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3102, allocations: 79.22 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.3102, allocations: 113.8 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3102, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.708e-05/0.3103, allocations: 33.64 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3104, allocations: 126.7 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3105, allocations: 105.8 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3106, allocations: 29.7 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.3106, allocations: 80.14 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.3106, allocations: 4 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.3107, allocations: 17.72 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3108, allocations: 314.8 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.3108, allocations: 8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.3109, allocations: 11.98 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.3109, allocations: 16.86 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3109, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001626/0.3111, allocations: 69.64 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3111, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3112, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3112, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.3112, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3112, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.3113, allocations: 11.92 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3113, allocations: 0 / 1.058 GB, free: 2.23 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 0.000136/0.3115, allocations: 185.1 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.3115, allocations: 112.9 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.3116, allocations: 116 kB / 1.058 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.77e-05/0.3117, allocations: 180.3 kB / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.569e-05/0.3118, allocations: 180.2 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-05/0.3118, allocations: 180.3 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3121, allocations: 409.2 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.971e-05/0.3122, allocations: 112.8 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3122, allocations: 105 kB / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.177e-05/0.3123, allocations: 184.2 kB / 1.059 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.3123, allocations: 176.3 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-05/0.3124, allocations: 176.3 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-05/0.3125, allocations: 192.2 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3126, allocations: 299.8 kB / 1.06 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3127, allocations: 189.9 kB / 1.06 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.3127, allocations: 180.3 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.3128, allocations: 108.9 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3129, allocations: 184.2 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3129, allocations: 104.9 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.313, allocations: 79.28 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.313, allocations: 0 / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003682/0.3133, allocations: 59.98 kB / 1.061 GB, free: 14.57 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.0009614/0.3143, allocations: 1.023 MB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.3144, allocations: 15.94 kB / 1.062 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3144, allocations: 0 / 1.062 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3144, allocations: 0 / 1.062 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3148, allocations: 0.5192 MB / 1.063 GB, free: 13.04 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001238/0.3161, allocations: 1.327 MB / 1.064 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3163, allocations: 0.677 MB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.3164, allocations: 8 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.3164, allocations: 15.42 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3164, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5483/0.8647, allocations: 2.397 MB / 1.067 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.8651, allocations: 318.9 kB / 1.067 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.646, allocations: 0 / 1.067 GB, free: 8.316 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