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.001055/0.001054, allocations: 91.84 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.007179/0.007179, allocations: 169.9 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.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.801/2.801, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005113, allocations: 8 kB / 0.8729 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7026, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008326/0.7035, allocations: 267.8 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.7052, allocations: 1.113 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.7052, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.326e-05/0.7053, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.7053, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.7057, allocations: 135.7 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.7058, allocations: 23.91 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.7058, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.7059, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.7059, allocations: 15.92 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.706, allocations: 8 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.7063, allocations: 175.7 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.7064, allocations: 7.984 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.7064, allocations: 29.7 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.7067, allocations: 187.7 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7067, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7067, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.7067, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 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.0003879/0.7071, allocations: 367.4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7072, allocations: 12.03 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.7072, allocations: 80.22 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.7074, allocations: 241.6 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.7075, allocations: 150.9 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.7076, allocations: 154.9 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.598e-05/0.7077, allocations: 113 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.7077, allocations: 79.28 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.7078, allocations: 150.6 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.7079, allocations: 150.6 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.708, allocations: 150.6 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.7083, allocations: 453.9 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.7084, allocations: 185 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.7085, allocations: 80.14 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.7085, allocations: 79.22 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/0.7086, allocations: 109.8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.7086, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.821e-05/0.7087, allocations: 33.7 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.7088, allocations: 138.6 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.7089, allocations: 97.84 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.7089, allocations: 29.69 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.709, allocations: 88.14 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.709, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.709, allocations: 13.7 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7092, allocations: 310.8 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.7092, allocations: 12 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.7092, allocations: 11.98 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.7093, allocations: 20.84 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7093, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001464/0.7094, allocations: 69.47 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7095, allocations: 6.344 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7095, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7095, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.7095, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7095, allocations: 4.125 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.7096, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.7096, allocations: 4 kB / 1.028 GB, free: 10.31 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.0001153/0.7098, allocations: 190.6 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.7098, allocations: 108.9 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.7099, allocations: 108 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.512e-05/0.71, allocations: 184.3 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.896e-05/0.7101, allocations: 176.3 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.649e-05/0.7102, allocations: 188.2 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.7104, allocations: 393.2 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-05/0.7105, allocations: 108.9 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.7105, allocations: 112.9 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-05/0.7106, allocations: 180.3 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.7107, allocations: 180.2 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-05/0.7108, allocations: 176.3 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-05/0.7109, allocations: 184.2 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.7111, allocations: 319.7 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.7112, allocations: 182 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.7113, allocations: 180.2 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.7114, allocations: 108.9 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.7115, allocations: 184.2 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.7115, allocations: 104.9 kB / 1.031 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.7116, allocations: 83.28 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7116, allocations: 0 / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003325/0.7119, allocations: 59.97 kB / 1.032 GB, free: 6.652 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.0008302/0.7127, allocations: 376.2 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.544e-05/0.7128, allocations: 15.98 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7128, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7128, allocations: 336 / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.7133, allocations: 0.5224 MB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.7136, allocations: 182.1 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.7139, allocations: 0.6731 MB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.714, allocations: 7.984 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.714, allocations: 15.42 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.714, allocations: 0 / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.004368/0.7184, allocations: 1.497 MB / 1.035 GB, free: 3.383 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