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: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 108 kB / 15.61 MB, free: 152 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.001063/0.001063, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.662/2.662, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7106, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001963/0.7126, allocations: 0.5201 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.7143, allocations: 1.128 MB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.7143, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.7144, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.7145, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.7151, allocations: 167.5 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.7151, allocations: 23.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.7152, allocations: 3.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.7152, allocations: 15.97 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.7153, allocations: 7.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.7153, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.7157, allocations: 175.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.7157, allocations: 11.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.7158, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.7161, allocations: 187.7 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7161, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7161, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7161, allocations: 4 kB / 1.019 GB, free: 244 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.0003416/0.7164, allocations: 367.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7165, allocations: 16.02 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.7166, allocations: 76.22 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.7167, allocations: 249.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.7168, allocations: 154.9 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.7168, allocations: 154.9 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.7169, allocations: 105.1 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.7169, allocations: 75.28 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.717, allocations: 154.6 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.717, allocations: 150.6 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.7171, allocations: 158.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.7173, allocations: 453.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.7174, allocations: 173.1 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.7175, allocations: 84.08 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.7175, allocations: 79.27 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.7175, allocations: 113.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7175, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.993e-05/0.7176, allocations: 33.64 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.7177, allocations: 126.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.7178, allocations: 101.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.7178, allocations: 25.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.7178, allocations: 84.14 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.7178, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.7179, allocations: 21.72 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.718, allocations: 314.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.718, allocations: 7.984 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.718, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.7181, allocations: 24.84 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7181, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001292/0.7182, allocations: 57.47 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7183, allocations: 8.125 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7183, allocations: 7.922 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7183, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.7183, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7183, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.7184, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.7184, allocations: 8 kB / 1.023 GB, free: 12.68 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.917e-05/0.7185, allocations: 189.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.7186, allocations: 116.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.7186, allocations: 108.1 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/0.7187, allocations: 176.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.7188, allocations: 184.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/0.7188, allocations: 180.3 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.7191, allocations: 409.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.7191, allocations: 101 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.7191, allocations: 105.1 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.7192, allocations: 184.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.7193, allocations: 188.3 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.7193, allocations: 180.2 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.108e-05/0.7194, allocations: 184.2 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.7195, allocations: 307.8 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.7196, allocations: 182 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.7196, allocations: 184.4 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.7197, allocations: 109 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.7198, allocations: 184.2 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.7198, allocations: 112.9 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.7199, allocations: 79.28 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7199, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003479/0.7202, allocations: 55.98 kB / 1.026 GB, free: 9.012 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.0006085/0.7209, allocations: 387.1 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.721, allocations: 8 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.721, allocations: 0 / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.721, allocations: 0 / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.7213, allocations: 467.7 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.7215, allocations: 172.2 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.7217, allocations: 0.6729 MB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.7219, allocations: 15.97 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.7219, allocations: 19.44 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7219, allocations: 0 / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of Templates: time 0.003657/0.7256, allocations: 1.518 MB / 1.029 GB, free: 5.789 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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