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.001923/0.001923, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002328/0.002329, allocations: 193 kB / 16.14 MB, free: 6.719 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.817/2.817, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002047, allocations: 71.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6063, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001959/0.6083, allocations: 0.6003 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.6101, allocations: 1.128 MB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.6102, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.6103, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.6103, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.6108, allocations: 143.7 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.6109, allocations: 15.92 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.6109, allocations: 0 / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.611, allocations: 7.938 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.611, allocations: 15.98 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.611, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.6114, allocations: 179.7 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.6115, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.6115, allocations: 7.922 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.6118, allocations: 187.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6119, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6119, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6119, allocations: 0 / 1.019 GB, free: 452 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.0004604/0.6123, allocations: 367.5 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6124, allocations: 16.03 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.158e-05/0.6125, allocations: 76.22 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.6127, allocations: 249.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/0.6128, allocations: 154.9 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.6129, allocations: 150.9 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.145e-05/0.613, allocations: 113 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.613, allocations: 79.28 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.6131, allocations: 154.6 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/0.6132, allocations: 150.6 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.6133, allocations: 150.6 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.6136, allocations: 453.9 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.6137, allocations: 177.1 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.6138, allocations: 88.14 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.6138, allocations: 75.28 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/0.6139, allocations: 109.8 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6139, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.797e-05/0.614, allocations: 33.7 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.6141, allocations: 138.5 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.6142, allocations: 105.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6143, allocations: 25.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.6143, allocations: 84.05 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.6143, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.6144, allocations: 21.7 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6145, allocations: 314.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.6145, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.6146, allocations: 11.98 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.6146, allocations: 24.84 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6147, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.6148, allocations: 53.61 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6148, allocations: 11.94 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6148, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6148, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.6149, allocations: 4.125 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6149, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.6149, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.615, allocations: 7.984 kB / 1.022 GB, free: 12.87 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 0.0001227/0.6151, allocations: 193.1 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.6152, allocations: 104.9 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.6152, allocations: 108 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.928e-05/0.6153, allocations: 188.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/0.6154, allocations: 176.3 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-05/0.6155, allocations: 184.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.6158, allocations: 405.2 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-05/0.6158, allocations: 104.9 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.6159, allocations: 104.9 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.205e-05/0.616, allocations: 180.3 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.6161, allocations: 188.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.078e-05/0.6162, allocations: 176.3 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.541e-05/0.6163, allocations: 188.2 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.6165, allocations: 303.8 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.6166, allocations: 186 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.6167, allocations: 184.2 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.6168, allocations: 104.9 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.6169, allocations: 176.3 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.6169, allocations: 105 kB / 1.025 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.617, allocations: 95.2 kB / 1.025 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.617, allocations: 0 / 1.025 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003408/0.6173, allocations: 51.98 kB / 1.025 GB, free: 9.215 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.0008731/0.6182, allocations: 389.5 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.903e-05/0.6183, allocations: 8 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6183, allocations: 0 / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.6183, allocations: 0 / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.6187, allocations: 0.5269 MB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.619, allocations: 178.4 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.6193, allocations: 0.6731 MB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.6194, allocations: 8 kB / 1.027 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.6195, allocations: 15.42 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6195, allocations: 0 / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.004278/0.6238, allocations: 1.506 MB / 1.029 GB, free: 5.934 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=400 -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