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.001838/0.001838, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002224/0.002224, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.999/2.999, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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 6.843e-06/6.843e-06, allocations: 5.094 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.44e-05, allocations: 4.422 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002733/0.002767, allocations: 0.5521 MB / 0.8113 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.005981, allocations: 1.228 MB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.006005, allocations: 1.031 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.006127, allocations: 4 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.006181, allocations: 7.984 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.007105, allocations: 181.7 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.007191, allocations: 11.98 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.007235, allocations: 8 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.00729, allocations: 11.98 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.00735, allocations: 13.5 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.007373, allocations: 7.938 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.008067, allocations: 203.6 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.00812, allocations: 7.922 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.008159, allocations: 13.17 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.008774, allocations: 219.2 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008777, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008779, allocations: 1.594 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.008784, allocations: 0 / 0.8132 GB, free: 15.67 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.0006697/0.009453, allocations: 395.8 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.009507, allocations: 12.03 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.009659, allocations: 124.1 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.00994, allocations: 242.3 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.01013, allocations: 238.8 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.0103, allocations: 242.8 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.01043, allocations: 145.5 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/0.0105, allocations: 119.4 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.01064, allocations: 246.5 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.01075, allocations: 238.4 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.01088, allocations: 247.1 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.01138, allocations: 0.5724 MB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.01163, allocations: 261.4 kB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.01174, allocations: 128.5 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.163e-05/0.01183, allocations: 123.2 kB / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.01196, allocations: 152.6 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.01196, allocations: 0 / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001312/0.01209, allocations: 38.22 kB / 0.8166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.01224, allocations: 174.5 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01248, allocations: 158.4 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.01252, allocations: 26.58 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01263, allocations: 138.9 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.01263, allocations: 1.156 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.0127, allocations: 19.38 kB / 0.8171 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003695/0.01307, allocations: 496.1 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.01312, allocations: 5.375 kB / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.01321, allocations: 59.39 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.01329, allocations: 15.69 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01329, allocations: 1.75 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002402/0.01353, allocations: 49.61 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.01355, allocations: 8 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01356, allocations: 0 / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.01358, allocations: 0.875 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-06/0.01358, allocations: 3.938 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01359, allocations: 0.8438 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01369, allocations: 8 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01371, allocations: 2.125 kB / 0.8177 GB, free: 10.85 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.0002628/0.01397, allocations: 279.8 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.01413, allocations: 156.7 kB / 0.8181 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.01428, allocations: 152 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002013/0.01448, allocations: 264.1 kB / 0.8185 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002161/0.0147, allocations: 276.5 kB / 0.8188 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002098/0.01491, allocations: 272.1 kB / 0.819 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.01542, allocations: 494.4 kB / 0.8195 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001201/0.01554, allocations: 152.9 kB / 0.8196 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01566, allocations: 152.9 kB / 0.8198 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.01587, allocations: 272.2 kB / 0.82 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/0.01609, allocations: 272.1 kB / 0.8203 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002158/0.0163, allocations: 268 kB / 0.8206 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002028/0.0165, allocations: 265.8 kB / 0.8208 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.0169, allocations: 455.9 kB / 0.8213 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.01702, allocations: 144.9 kB / 0.8214 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.01726, allocations: 272 kB / 0.8216 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.01744, allocations: 144.9 kB / 0.8218 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.01765, allocations: 272.7 kB / 0.822 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.01778, allocations: 153.4 kB / 0.8222 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001157/0.01789, allocations: 127.2 kB / 0.8223 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01789, allocations: 1.656 kB / 0.8223 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005538/0.01844, allocations: 59.73 kB / 0.8224 GB, free: 5.859 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.001933/0.02038, allocations: 449.7 kB / 0.8228 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.02051, allocations: 19.67 kB / 0.8228 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02051, allocations: 1.031 kB / 0.8228 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-06/0.02052, allocations: 3.938 kB / 0.8228 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.02139, allocations: 0.7085 MB / 0.8235 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.02179, allocations: 214.8 kB / 0.8237 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.02189, allocations: 63.2 kB / 0.8238 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.829e-05/0.02196, allocations: 13.02 kB / 0.8238 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.02203, allocations: 12.5 kB / 0.8238 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.02203, allocations: 1.125 kB / 0.8238 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of Templates: time 0.007968/0.03, allocations: 1.596 MB / 0.8254 GB, free: 2.848 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] 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: 8.045965195982717]