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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009054/0.0009055, allocations: 91.77 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.004713/0.004713, allocations: 172.8 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003249, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5589, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006653/0.5596, allocations: 268.1 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.5611, allocations: 1.109 MB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.5611, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.745e-05/0.5612, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.5612, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.5616, allocations: 139.7 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.5617, allocations: 15.98 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.5617, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.5617, allocations: 19.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.5618, allocations: 11.92 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.5618, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.5621, allocations: 175.7 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.5622, allocations: 11.92 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.5622, allocations: 29.7 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.5625, allocations: 195.6 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5625, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5625, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.5625, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 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.0002988/0.5628, allocations: 361.7 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.5629, allocations: 8.031 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.5629, allocations: 106 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.563, allocations: 84.2 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5631, allocations: 243.7 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.5631, allocations: 150.9 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.5632, allocations: 154.9 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.26e-05/0.5632, allocations: 108.9 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5633, allocations: 75.28 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.5633, allocations: 150.6 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.5634, allocations: 158.5 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.5634, allocations: 154.6 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.5637, allocations: 457.9 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.5637, allocations: 169.1 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.5638, allocations: 88.14 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5638, allocations: 83.22 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.5638, allocations: 109.8 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.5638, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.03e-05/0.5639, allocations: 25.7 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.564, allocations: 126.7 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.5641, allocations: 113.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.5641, allocations: 29.69 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.5641, allocations: 80.14 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.5641, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.5642, allocations: 9.719 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.5642, allocations: 314.8 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.5643, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.5643, allocations: 11.98 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.5643, allocations: 28.94 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5644, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.5645, allocations: 57.53 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5645, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5645, allocations: 3.938 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.5645, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.5645, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.5645, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.5646, allocations: 7.938 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.5646, allocations: 8.016 kB / 1.028 GB, free: 10.23 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 8.321e-05/0.5647, allocations: 189.1 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.5648, allocations: 108.9 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.5648, allocations: 112 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/0.5649, allocations: 180.2 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/0.5649, allocations: 176.3 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/0.565, allocations: 184.2 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.5652, allocations: 405.2 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/0.5652, allocations: 108.9 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.5652, allocations: 105 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.754e-05/0.5653, allocations: 180.3 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.5654, allocations: 188.1 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.858e-05/0.5654, allocations: 180.3 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.264e-05/0.5655, allocations: 184.2 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5656, allocations: 299.9 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.5657, allocations: 198 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.5658, allocations: 180.3 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.5659, allocations: 104.9 kB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.5659, allocations: 180.3 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.566, allocations: 101 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.566, allocations: 91.2 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.566, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002914/0.5663, allocations: 55.98 kB / 1.032 GB, free: 6.574 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.0008217/0.5671, allocations: 1.019 MB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.541e-05/0.5672, allocations: 11.98 kB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5672, allocations: 0 / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.5672, allocations: 3.938 kB / 1.033 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5676, allocations: 0.5186 MB / 1.033 GB, free: 5.055 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009377/0.5685, allocations: 1.336 MB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.5687, allocations: 0.6731 MB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.5688, allocations: 11.92 kB / 1.035 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.5688, allocations: 19.42 kB / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5688, allocations: 0 / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.65/5.219, allocations: 2.221 MB / 1.037 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/5.219, allocations: 316.1 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/6.84, allocations: 0 / 1.038 GB, free: 500 kB / 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