Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 161.7 kB / 23.55 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.223e-05, allocations: 3.5 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00244/0.002473, allocations: 0.5529 MB / 0.8113 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.005301, allocations: 1.221 MB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.005323, allocations: 0 / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.005431, allocations: 7.938 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.005474, allocations: 0 / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.006267, allocations: 185 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.006342, allocations: 19.91 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.006379, allocations: 4 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.00643, allocations: 13.3 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.006476, allocations: 4 kB / 0.8128 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.006495, allocations: 4 kB / 0.8128 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.007123, allocations: 216.7 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.007168, allocations: 4 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.007201, allocations: 4 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.007741, allocations: 224.6 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007745, allocations: 0 / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.007746, allocations: 0 / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.00775, allocations: 0 / 0.8132 GB, free: 15.68 MB / 0.7761 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.0005467/0.008296, allocations: 295.5 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.008341, allocations: 12.03 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.008458, allocations: 76.22 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.008707, allocations: 189 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.008825, allocations: 150.9 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.008948, allocations: 156.3 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.009063, allocations: 109.5 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.198e-05/0.009125, allocations: 75.47 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.009245, allocations: 155.2 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.009359, allocations: 154.5 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.009479, allocations: 156.5 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.009965, allocations: 401.6 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.01012, allocations: 169.1 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.0102, allocations: 80.14 kB / 0.8153 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.01027, allocations: 85.5 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.854e-05/0.01036, allocations: 105.8 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.01036, allocations: 0 / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.844e-05/0.01045, allocations: 29.7 kB / 0.8155 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.01054, allocations: 134.6 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01067, allocations: 101.8 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.0107, allocations: 30.42 kB / 0.8157 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.01077, allocations: 88.12 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.01077, allocations: 0.5312 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.01081, allocations: 13.72 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.01099, allocations: 320.5 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.01101, allocations: 4 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.01108, allocations: 67.39 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.01114, allocations: 17.48 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01114, allocations: 3.984 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.01132, allocations: 50.81 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01133, allocations: 11.94 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01134, allocations: 0.5625 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01136, allocations: 0.9062 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-06/0.01136, allocations: 3.938 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.01136, allocations: 0 / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.01145, allocations: 4.844 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01146, allocations: 4 kB / 0.8163 GB, free: 12.3 MB / 0.7761 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.0001393/0.0116, allocations: 190.8 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.01169, allocations: 108.9 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.01175, allocations: 112.1 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.183e-05/0.01184, allocations: 180.3 kB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.816e-05/0.01194, allocations: 185.1 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.465e-05/0.01204, allocations: 184.2 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.0123, allocations: 355.1 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.888e-05/0.01236, allocations: 104.9 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.01242, allocations: 105 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-05/0.01251, allocations: 180.3 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.01261, allocations: 180.2 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.922e-05/0.01269, allocations: 176.3 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.691e-05/0.01279, allocations: 186.4 kB / 0.8184 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.01298, allocations: 315.6 kB / 0.8187 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.01304, allocations: 101 kB / 0.8188 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.01315, allocations: 184.3 kB / 0.819 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.01325, allocations: 104.9 kB / 0.8191 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.01336, allocations: 192.2 kB / 0.8193 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.01341, allocations: 105.4 kB / 0.8194 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.01347, allocations: 80.16 kB / 0.8195 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01347, allocations: 0 / 0.8195 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003668/0.01383, allocations: 61.42 kB / 0.8195 GB, free: 8.812 MB / 0.7761 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.0009927/0.01483, allocations: 403.7 kB / 0.8199 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.01491, allocations: 15.98 kB / 0.8199 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01492, allocations: 0 / 0.8199 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01492, allocations: 0 / 0.8199 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.01537, allocations: 461.3 kB / 0.8204 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.01566, allocations: 182.2 kB / 0.8205 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.01572, allocations: 59.22 kB / 0.8206 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.923e-05/0.01582, allocations: 7.984 kB / 0.8206 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.01588, allocations: 12.5 kB / 0.8206 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of SimCode: time 3.6e-07/0.01588, allocations: 1 kB / 0.8206 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of Templates: time 0.004779/0.02065, allocations: 1.589 MB / 0.8222 GB, free: 6.164 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.819482395076193]