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.0007367/0.0007368, allocations: 92 kB / 15.36 MB, free: 0.7383 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.004837/0.004837, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 12.62 kB / 0.9029 GB, free: 36.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2922, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007218/0.293, allocations: 274.2 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2945, allocations: 1.113 MB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.2946, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.769e-05/0.2946, allocations: 11.98 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.2947, allocations: 7.938 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.2951, allocations: 135.7 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.2952, allocations: 11.98 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.2952, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.2953, allocations: 8 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.2953, allocations: 19.91 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2953, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.2957, allocations: 167.7 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.2958, allocations: 19.91 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.2958, allocations: 33.7 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2961, allocations: 187.7 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2961, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.915e-06/0.2961, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.2961, allocations: 3.938 kB / 1.061 GB, free: 2.879 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.0003069/0.2964, allocations: 355.9 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2965, allocations: 8.031 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.2965, allocations: 110 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.2966, allocations: 80.22 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2967, allocations: 247.6 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.2968, allocations: 150.9 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.2968, allocations: 158.9 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.229e-05/0.2969, allocations: 108.9 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.2969, allocations: 79.22 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.297, allocations: 154.6 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.297, allocations: 150.6 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.2971, allocations: 158.4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.2973, allocations: 449.9 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.2974, allocations: 173.1 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.2974, allocations: 80.14 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2975, allocations: 79.22 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2975, allocations: 109.8 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.215e-06/0.2975, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.039e-05/0.2976, allocations: 33.62 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.2976, allocations: 134.7 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2978, allocations: 101.8 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2978, allocations: 25.7 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.2978, allocations: 88.12 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2978, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.2979, allocations: 13.7 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.2979, allocations: 310.8 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.298, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.298, allocations: 19.98 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.2981, allocations: 24.78 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2981, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.2982, allocations: 57.62 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2982, allocations: 4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2982, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2982, allocations: 4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2982, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2983, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.2983, allocations: 8.125 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2984, allocations: 3.984 kB / 1.064 GB, free: 15.22 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.282e-05/0.2985, allocations: 189.1 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2985, allocations: 108.9 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.2986, allocations: 108.1 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.585e-05/0.2986, allocations: 180.3 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/0.2987, allocations: 184.2 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/0.2987, allocations: 184.3 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2989, allocations: 405.2 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/0.299, allocations: 108.9 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.299, allocations: 105 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.666e-05/0.2991, allocations: 184.1 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.2991, allocations: 180.3 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.2992, allocations: 180.2 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.886e-05/0.2992, allocations: 184.2 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2993, allocations: 307.8 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.2994, allocations: 189.9 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.2995, allocations: 188.2 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.2996, allocations: 101 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.2996, allocations: 184.2 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.2996, allocations: 101 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.2997, allocations: 79.47 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2997, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003163/0.3, allocations: 63.97 kB / 1.067 GB, free: 11.56 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.0008198/0.3008, allocations: 1.017 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/0.3009, allocations: 16 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3013, allocations: 0.5225 MB / 1.069 GB, free: 10.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.000956/0.3022, allocations: 1.319 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.3025, allocations: 0.6731 MB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.3025, allocations: 7.984 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.3025, allocations: 15.44 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3025, allocations: 4.031 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.342/2.644, allocations: 2.226 MB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/2.645, allocations: 315.5 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/5.606, allocations: 0 / 1.073 GB, free: 5.516 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