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.007645/0.007645, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001847/0.001847, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.882/2.882, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 151.6 MB / 1.167 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001756/0.3287, allocations: 0.538 MB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3304, allocations: 1.125 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.3304, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3305, allocations: 11.94 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.3306, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.3311, allocations: 175.4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.3312, allocations: 19.92 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3313, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.3313, allocations: 8 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.3314, allocations: 7.984 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3314, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3318, allocations: 203.6 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.3318, allocations: 7.984 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.3319, allocations: 11.92 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.3322, allocations: 195.5 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3322, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3322, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3322, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 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.0003884/0.3326, allocations: 374.9 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3326, allocations: 8.031 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.3327, allocations: 80.22 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3329, allocations: 247.7 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.3329, allocations: 150.9 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.333, allocations: 154.9 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.856e-05/0.3331, allocations: 105.1 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3331, allocations: 75.28 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3332, allocations: 150.6 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.3332, allocations: 158.5 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.3333, allocations: 154.5 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.3336, allocations: 449.9 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.3337, allocations: 177.2 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.3337, allocations: 84.14 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3337, allocations: 75.28 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.3338, allocations: 113.7 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3338, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.59e-05/0.3339, allocations: 29.7 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3339, allocations: 130.7 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3341, allocations: 105.8 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3341, allocations: 25.7 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.3341, allocations: 88.08 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3341, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3342, allocations: 25.69 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3343, allocations: 310.8 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.3343, allocations: 11.98 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.3344, allocations: 11.94 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.3344, allocations: 28.94 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3344, allocations: 3.938 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.3346, allocations: 53.62 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3346, allocations: 4 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3346, allocations: 0 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3346, allocations: 0 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.3346, allocations: 4 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3346, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.3347, allocations: 8.016 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3347, allocations: 4 kB / 1.172 GB, free: 0.9961 MB / 0.92 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.438e-05/0.3348, allocations: 185.1 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.3349, allocations: 112.9 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.335, allocations: 104.1 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.335, allocations: 188.2 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.62e-05/0.3351, allocations: 184.3 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/0.3352, allocations: 176.3 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3354, allocations: 405.2 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.3354, allocations: 105 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.3355, allocations: 108.9 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.324e-05/0.3355, allocations: 176.3 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.3356, allocations: 184.3 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.3357, allocations: 188.2 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.105e-05/0.3357, allocations: 176.3 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3359, allocations: 311.8 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.336, allocations: 190 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.336, allocations: 180.2 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.3361, allocations: 105 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.3362, allocations: 180.2 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.3362, allocations: 101 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.3363, allocations: 87.27 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3363, allocations: 4 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003201/0.3366, allocations: 63.67 kB / 1.175 GB, free: 13.33 MB / 0.9356 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.000679/0.3373, allocations: 382.5 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.3374, allocations: 11.94 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3374, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.3374, allocations: 4 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3378, allocations: 459.6 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.338, allocations: 164.2 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3383, allocations: 0.6768 MB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.628e-05/0.3383, allocations: 7.984 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3384, allocations: 19.42 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3384, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.004045/0.3425, allocations: 1.528 MB / 1.179 GB, free: 10.11 MB / 0.9356 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