Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005824/0.005824, allocations: 102 kB / 15.73 MB, free: 6.039 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.001219/0.001219, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.7 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3209, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001738/0.3227, allocations: 0.5399 MB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3242, allocations: 1.126 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.3242, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.3243, allocations: 8 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.3244, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.3249, allocations: 167.4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.325, allocations: 15.97 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.3251, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.3251, allocations: 19.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.3252, allocations: 7.828 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3252, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.3255, allocations: 199.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.3256, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3256, allocations: 7.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3259, allocations: 195.6 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3259, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3259, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3259, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 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.0004476/0.3264, allocations: 371.5 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3264, allocations: 8.031 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.3265, allocations: 76.22 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3267, allocations: 239.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.3267, allocations: 158.9 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.3268, allocations: 154.9 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.303e-05/0.3269, allocations: 109.1 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.3269, allocations: 79.28 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.3269, allocations: 154.5 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/0.327, allocations: 150.6 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.3271, allocations: 154.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3274, allocations: 450 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.3275, allocations: 177.1 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3275, allocations: 80.14 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3276, allocations: 75.28 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.3276, allocations: 113.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3276, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.604e-05/0.3277, allocations: 33.64 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3278, allocations: 126.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3279, allocations: 109.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3279, allocations: 25.7 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.328, allocations: 80.14 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.328, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.328, allocations: 17.72 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3281, allocations: 322.8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.3282, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.3282, allocations: 11.98 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.3282, allocations: 20.86 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3283, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001269/0.3284, allocations: 53.75 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3284, allocations: 11.98 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3284, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3284, allocations: 4.125 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.3284, allocations: 3.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3285, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.3285, allocations: 7.984 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3286, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 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.0001043/0.3287, allocations: 189.1 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.3288, allocations: 112.9 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.3288, allocations: 112 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.558e-05/0.3289, allocations: 188.3 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-05/0.329, allocations: 180.2 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.372e-05/0.329, allocations: 176.3 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3293, allocations: 405.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-05/0.3294, allocations: 108.9 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.3294, allocations: 108.9 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.3295, allocations: 188.2 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.3296, allocations: 176.3 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.636e-05/0.3296, allocations: 180.3 kB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-05/0.3297, allocations: 180.2 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3298, allocations: 311.8 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.3299, allocations: 193.9 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.33, allocations: 176.3 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.3301, allocations: 104.9 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.3301, allocations: 180.2 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.3302, allocations: 112.9 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.3302, allocations: 83.28 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3302, allocations: 0 / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003289/0.3306, allocations: 51.98 kB / 1.097 GB, free: 7.965 MB / 0.8575 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.0006337/0.3312, allocations: 391.8 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.3313, allocations: 11.98 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3313, allocations: 0 / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3313, allocations: 0 / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3317, allocations: 459.8 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.3319, allocations: 168.2 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3322, allocations: 0.6768 MB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.156e-05/0.3323, allocations: 7.984 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3323, allocations: 11.44 kB / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3323, allocations: 0 / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of Templates: time 0.004319/0.3367, allocations: 1.52 MB / 1.1 GB, free: 4.746 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches