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.001282/0.001282, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001699/0.001699, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.9398/0.9398, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.826/1.826, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|yR2.[0-9,]+.",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.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.914e-05, allocations: 2.812 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001523/0.001542, allocations: 0.5573 MB / 0.8121 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.003038, allocations: 1.241 MB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.00307, allocations: 0 / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.003176, allocations: 3.938 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.003229, allocations: 3.984 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.003786, allocations: 188.6 kB / 0.8135 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.44e-05/0.00386, allocations: 19.92 kB / 0.8135 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.003906, allocations: 5.594 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.003945, allocations: 11.98 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.003984, allocations: 4 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.003997, allocations: 0 / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.00436, allocations: 221.6 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.004402, allocations: 4 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.004427, allocations: 7.984 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.00474, allocations: 211.4 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004743, allocations: 3.984 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004744, allocations: 0.5312 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004748, allocations: 4 kB / 0.8139 GB, free: 15.62 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.0003582/0.005107, allocations: 396.3 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005144, allocations: 8.75 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.005217, allocations: 128.4 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.005358, allocations: 228.3 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.005429, allocations: 244.2 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.005498, allocations: 238.8 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.055e-05/0.005569, allocations: 145.5 kB / 0.8153 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.005607, allocations: 127.3 kB / 0.8154 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.00568, allocations: 243 kB / 0.8156 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.005751, allocations: 238.4 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.00582, allocations: 243.7 kB / 0.8161 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.006113, allocations: 0.5759 MB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006217, allocations: 265.4 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.00626, allocations: 135.9 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.006295, allocations: 119.2 kB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.006349, allocations: 156.6 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.00635, allocations: 1.375 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.17e-05/0.006421, allocations: 29.69 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.006487, allocations: 174.5 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006604, allocations: 161.9 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.006618, allocations: 27.17 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.006668, allocations: 126.9 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.00667, allocations: 0 / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.006711, allocations: 31.36 kB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.006853, allocations: 493 kB / 0.8183 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.006879, allocations: 7.938 kB / 0.8183 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.006921, allocations: 60.17 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.006968, allocations: 20.81 kB / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.00697, allocations: 0 / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001271/0.007097, allocations: 42.53 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.007111, allocations: 4 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.007116, allocations: 0 / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.00713, allocations: 1.438 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-06/0.007133, allocations: 7.938 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007138, allocations: 0 / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.0072, allocations: 8.984 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.007216, allocations: 7.984 kB / 0.8184 GB, free: 10.8 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.0001007/0.007316, allocations: 283.7 kB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.007382, allocations: 155 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.007434, allocations: 152 kB / 0.819 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/0.007506, allocations: 268 kB / 0.8192 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-05/0.007579, allocations: 272 kB / 0.8195 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.497e-05/0.007654, allocations: 272 kB / 0.8198 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.007864, allocations: 0.4905 MB / 0.8202 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/0.007903, allocations: 144.9 kB / 0.8204 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.007945, allocations: 153 kB / 0.8205 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.804e-05/0.008013, allocations: 272.1 kB / 0.8208 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.008085, allocations: 276.1 kB / 0.8211 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-05/0.008152, allocations: 268.1 kB / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-05/0.00822, allocations: 268.5 kB / 0.8216 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.008366, allocations: 447.9 kB / 0.822 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.008416, allocations: 158.8 kB / 0.8221 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.008493, allocations: 264.1 kB / 0.8224 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.00857, allocations: 144.9 kB / 0.8225 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.008653, allocations: 279.9 kB / 0.8228 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.008692, allocations: 144.9 kB / 0.8229 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.008736, allocations: 123.8 kB / 0.8231 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.008736, allocations: 0 / 0.8231 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003395/0.009076, allocations: 56.45 kB / 0.8231 GB, free: 5.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.0007849/0.009861, allocations: 464.8 kB / 0.8236 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.009945, allocations: 20.64 kB / 0.8236 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009947, allocations: 0 / 0.8236 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.009948, allocations: 0 / 0.8236 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.01034, allocations: 0.7112 MB / 0.8243 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.01057, allocations: 209.7 kB / 0.8245 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01061, allocations: 60.31 kB / 0.8245 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.01064, allocations: 4 kB / 0.8245 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.01068, allocations: 22.08 kB / 0.8246 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01068, allocations: 0 / 0.8246 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of Templates: time 0.003834/0.01452, allocations: 1.591 MB / 0.8261 GB, free: 2.801 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.004234591964632]