Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008902/0.0008901, allocations: 112.6 kB / 16.37 MB, free: 6 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.0008978/0.0008978, allocations: 196 kB / 17.31 MB, free: 5.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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.202/2.202, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.19 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2583, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001633/0.2599, allocations: 0.5544 MB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2612, allocations: 1.128 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.2612, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/0.2613, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.2614, allocations: 3.938 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2618, allocations: 174.5 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.2619, allocations: 23.84 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.2619, allocations: 4 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.2619, allocations: 8 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.262, allocations: 4 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.262, allocations: 0 / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.2623, allocations: 199.7 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.2624, allocations: 8 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.2624, allocations: 3.938 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.2626, allocations: 195.6 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2626, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2627, allocations: 4 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2627, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 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.0003035/0.263, allocations: 371.5 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.263, allocations: 15.97 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.2631, allocations: 76.22 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2632, allocations: 239.6 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.2632, allocations: 166.8 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.2633, allocations: 158.9 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.837e-05/0.2633, allocations: 105.1 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2634, allocations: 75.28 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.2634, allocations: 150.6 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.2635, allocations: 150.6 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.2635, allocations: 158.6 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.2637, allocations: 449.9 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.2638, allocations: 169.1 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.2638, allocations: 80.14 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2639, allocations: 75.28 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2639, allocations: 117.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/0.2639, allocations: 3.984 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.617e-05/0.264, allocations: 33.64 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.264, allocations: 126.7 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.2641, allocations: 105.8 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2641, allocations: 25.7 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.2642, allocations: 84.14 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.2642, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.2642, allocations: 17.7 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.2643, allocations: 318.8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.2643, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.2644, allocations: 11.98 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.2644, allocations: 20.84 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2644, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.2645, allocations: 61.66 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2646, allocations: 7.938 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2646, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2646, allocations: 4 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2646, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2646, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.2647, allocations: 3.984 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2647, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.8106 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 8.088e-05/0.2648, allocations: 193.1 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.2648, allocations: 108.9 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.2649, allocations: 108 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/0.2649, allocations: 176.3 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-05/0.265, allocations: 192.3 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/0.265, allocations: 176.3 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.2652, allocations: 413.2 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/0.2653, allocations: 108.9 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.2653, allocations: 104.9 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.214e-05/0.2654, allocations: 184.2 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.2654, allocations: 180.3 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.2655, allocations: 176.3 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-05/0.2655, allocations: 188.2 kB / 1.034 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2656, allocations: 303.8 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.2657, allocations: 189.9 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.2657, allocations: 184.2 kB / 1.035 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.2658, allocations: 109 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.2659, allocations: 176.3 kB / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.2659, allocations: 104.9 kB / 1.035 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.2659, allocations: 79.28 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.266, allocations: 0 / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002879/0.2662, allocations: 59.92 kB / 1.036 GB, free: 8.492 MB / 0.8106 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.0005502/0.2668, allocations: 378.8 kB / 1.036 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.2669, allocations: 11.98 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2669, allocations: 4 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2669, allocations: 4.062 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2672, allocations: 455.6 kB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.2674, allocations: 176.2 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2676, allocations: 0.669 MB / 1.037 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.2676, allocations: 15.92 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2677, allocations: 19.42 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2677, allocations: 0 / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.003331/0.271, allocations: 1.51 MB / 1.039 GB, free: 5.305 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches