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.0009106/0.0009106, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0008888/0.0008888, allocations: 161 kB / 24.17 MB, free: 332 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.919/0.919, allocations: 177.1 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.453e-06/1.453e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.43e-05, allocations: 6.25 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00133/0.001354, allocations: 0.5635 MB / 0.7605 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.002556, allocations: 1.262 MB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.002578, allocations: 0 / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.001e-05/0.002668, allocations: 4 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.002714, allocations: 0 / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.003166, allocations: 187.8 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.003226, allocations: 18.7 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.003258, allocations: 4 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.003298, allocations: 14.53 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.003334, allocations: 7.984 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.003347, allocations: 4 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.003614, allocations: 211.5 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.00365, allocations: 1.922 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.00367, allocations: 13.3 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.003899, allocations: 219.3 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003902, allocations: 0 / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.213e-06/0.003903, allocations: 1.25 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.003906, allocations: 0 / 0.7624 GB, free: 4.211 MB / 0.7136 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.0002353/0.004141, allocations: 266.6 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.004172, allocations: 9.938 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.00421, allocations: 76.22 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.004427, allocations: 185.1 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.004466, allocations: 151.5 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.004507, allocations: 164.4 kB / 0.7633 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.36e-05/0.00455, allocations: 105.5 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.004567, allocations: 75.47 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.004601, allocations: 158.7 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.004631, allocations: 152.4 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.004665, allocations: 150.6 kB / 0.7639 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.004808, allocations: 353.7 kB / 0.7642 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.00487, allocations: 173.6 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.004891, allocations: 84.14 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.004909, allocations: 80.03 kB / 0.7645 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.004942, allocations: 107 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.004943, allocations: 0.75 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.108e-05/0.004994, allocations: 38.44 kB / 0.7647 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.005037, allocations: 126.7 kB / 0.7648 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.00511, allocations: 106.6 kB / 0.7649 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005121, allocations: 27.08 kB / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.005151, allocations: 88.12 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-06/0.005152, allocations: 0 / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.005177, allocations: 18.95 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.00525, allocations: 322.9 kB / 0.7653 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.00527, allocations: 2.828 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.005301, allocations: 64.36 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.005332, allocations: 19.69 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005334, allocations: 0.9375 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.005407, allocations: 41.62 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.005422, allocations: 8.625 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.005429, allocations: 0 / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.005438, allocations: 2.75 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.287e-06/0.005442, allocations: 0 / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.005444, allocations: 0 / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.005492, allocations: 3.938 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.005505, allocations: 4 kB / 0.7655 GB, free: 0.9492 MB / 0.7136 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 7.985e-05/0.005585, allocations: 191.9 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.00562, allocations: 101 kB / 0.7657 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.005662, allocations: 111.1 kB / 0.7659 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.005707, allocations: 180.3 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.651e-05/0.005753, allocations: 180.2 kB / 0.7662 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.005816, allocations: 188.4 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.006234, allocations: 317.4 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/0.00626, allocations: 108.9 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.006285, allocations: 105.1 kB / 0.7669 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.284e-05/0.006328, allocations: 192.2 kB / 0.7671 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.006376, allocations: 177.8 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-05/0.006417, allocations: 180.3 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.091e-05/0.006458, allocations: 180.2 kB / 0.7676 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.006555, allocations: 311.7 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.006583, allocations: 106.7 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.006627, allocations: 176.3 kB / 0.7681 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.006673, allocations: 112.9 kB / 0.7683 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.006715, allocations: 180.2 kB / 0.7684 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.006739, allocations: 105.9 kB / 0.7685 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.00676, allocations: 12.86 kB / 0.7685 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00676, allocations: 0 / 0.7685 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002035/0.006963, allocations: 60.33 kB / 0.7686 GB, free: 13.57 MB / 0.7292 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.0007783/0.007741, allocations: 450.1 kB / 0.769 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.007817, allocations: 12.8 kB / 0.769 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.007821, allocations: 4.531 kB / 0.769 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.007822, allocations: 0.6562 kB / 0.769 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.008027, allocations: 470 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.008245, allocations: 176.4 kB / 0.7697 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.008278, allocations: 51.36 kB / 0.7697 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.008318, allocations: 11.92 kB / 0.7697 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.008376, allocations: 61.58 kB / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.008376, allocations: 0 / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.00318/0.01156, allocations: 1.798 MB / 0.7715 GB, free: 10.76 MB / 0.7292 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: 4.748173149768263]