Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001037/0.001037, allocations: 90.52 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.008619/0.00862, allocations: 171.1 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12.69 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001037/0.3424, allocations: 266.2 kB / 1.059 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3444, allocations: 1.117 MB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.3444, allocations: 4 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.3445, allocations: 7.984 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.3446, allocations: 4 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.3452, allocations: 135.4 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.3453, allocations: 19.92 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.3454, allocations: 0 / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.3454, allocations: 8 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.3455, allocations: 15.91 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3455, allocations: 0 / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.3461, allocations: 179.7 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.3461, allocations: 11.98 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.3462, allocations: 33.69 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.3466, allocations: 187.7 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3466, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3466, allocations: 3.938 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3466, allocations: 0 / 1.061 GB, free: 3.48 MB / 0.8106 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.0004409/0.3471, allocations: 359.5 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3471, allocations: 12.03 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.3472, allocations: 76.22 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3474, allocations: 247.9 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.3475, allocations: 154.9 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.3475, allocations: 150.9 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.234e-05/0.3476, allocations: 109 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.3477, allocations: 75.28 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.3477, allocations: 170.5 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/0.3478, allocations: 150.6 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.3478, allocations: 154.5 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.3482, allocations: 449.9 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.317e-05/0.3483, allocations: 173.1 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.3483, allocations: 80.14 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3484, allocations: 75.28 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.3484, allocations: 109.8 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.3484, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.000115/0.3485, allocations: 33.69 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3486, allocations: 138.6 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3487, allocations: 97.86 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3488, allocations: 25.7 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3488, allocations: 88.05 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3488, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.3489, allocations: 13.7 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.349, allocations: 314.8 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.349, allocations: 4 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.3491, allocations: 11.98 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/0.3491, allocations: 28.94 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3491, allocations: 0 / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00016/0.3493, allocations: 53.56 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3493, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3493, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3493, allocations: 4 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.3494, allocations: 4 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3494, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.3495, allocations: 8.016 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.3495, allocations: 8 kB / 1.064 GB, free: 15.93 MB / 0.8262 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.0001187/0.3496, allocations: 190.6 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.3497, allocations: 104.9 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.3497, allocations: 108 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-05/0.3498, allocations: 176.3 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-05/0.3499, allocations: 188.3 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.674e-05/0.35, allocations: 184.2 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3502, allocations: 401.3 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.3503, allocations: 108.9 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.3503, allocations: 108.9 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.914e-05/0.3504, allocations: 180.2 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.3505, allocations: 188.2 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.601e-05/0.3506, allocations: 176.3 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.001e-05/0.3506, allocations: 180.2 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3508, allocations: 311.7 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.3509, allocations: 186 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.351, allocations: 184.2 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.3511, allocations: 104.9 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.3511, allocations: 180.3 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.3512, allocations: 104.9 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.3512, allocations: 79.28 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3512, allocations: 4 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000361/0.3516, allocations: 63.88 kB / 1.067 GB, free: 12.28 MB / 0.8262 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.0007632/0.3524, allocations: 387.5 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.3525, allocations: 15.98 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3525, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.3525, allocations: 4 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3529, allocations: 0.5185 MB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.3532, allocations: 174 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3535, allocations: 0.6731 MB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.347e-05/0.3536, allocations: 7.984 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3536, allocations: 19.42 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of SimCode: time 6.22e-07/0.3536, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004443/0.3581, allocations: 1.493 MB / 1.07 GB, free: 9.023 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches