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.001449/0.001448, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001754/0.001754, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.03 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2653, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001701/0.267, allocations: 0.5354 MB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2684, allocations: 1.131 MB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.2684, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/0.2685, allocations: 8 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.2685, allocations: 0 / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.269, allocations: 163.4 kB / 1.029 GB, free: 300 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.269, allocations: 19.97 kB / 1.029 GB, free: 280 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.2691, allocations: 11.94 kB / 1.029 GB, free: 268 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.2691, allocations: 7.984 kB / 1.029 GB, free: 260 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.2691, allocations: 7.938 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.2692, allocations: 0 / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.2695, allocations: 203.7 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.2695, allocations: 4 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2696, allocations: 7.938 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.2698, allocations: 187.7 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2698, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2699, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2699, allocations: 3.984 kB / 1.029 GB, free: 15.85 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.000316/0.2702, allocations: 383.5 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.2702, allocations: 8.031 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.2703, allocations: 80.22 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2704, allocations: 243.6 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.2705, allocations: 154.9 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.2705, allocations: 150.9 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.503e-05/0.2706, allocations: 113 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.2706, allocations: 79.28 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.2706, allocations: 150.6 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.2707, allocations: 150.6 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.2707, allocations: 154.5 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.271, allocations: 457.9 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.2711, allocations: 173.1 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.2711, allocations: 84.12 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2711, allocations: 75.28 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2712, allocations: 113.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2712, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.505e-05/0.2712, allocations: 29.7 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2713, allocations: 130.6 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2714, allocations: 109.8 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2714, allocations: 25.7 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.2714, allocations: 80.14 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.2714, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2715, allocations: 25.72 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.2716, allocations: 314.8 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.2716, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.2716, allocations: 11.98 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.2717, allocations: 20.86 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2717, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.2718, allocations: 57.55 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2718, allocations: 12.11 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2718, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2719, allocations: 3.938 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.2719, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2719, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.2719, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.272, allocations: 4 kB / 1.032 GB, free: 12.28 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 7.766e-05/0.272, allocations: 185.1 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.2721, allocations: 108.9 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.2722, allocations: 112 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/0.2722, allocations: 180.3 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-05/0.2723, allocations: 180.3 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.2723, allocations: 184.2 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2725, allocations: 401.2 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.2726, allocations: 108.9 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.2726, allocations: 104.9 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-05/0.2727, allocations: 192.3 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.2727, allocations: 180.2 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.714e-05/0.2728, allocations: 176.3 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.147e-05/0.2728, allocations: 184.2 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.2729, allocations: 311.8 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.273, allocations: 189.9 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.2731, allocations: 180.2 kB / 1.035 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.2731, allocations: 104.9 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2732, allocations: 180.3 kB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.2732, allocations: 116.9 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.2733, allocations: 79.28 kB / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2733, allocations: 0 / 1.036 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002988/0.2736, allocations: 55.92 kB / 1.036 GB, free: 8.609 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.0005549/0.2741, allocations: 379.4 kB / 1.036 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.2742, allocations: 11.98 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2742, allocations: 0 / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.2742, allocations: 4 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2746, allocations: 459.2 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.2748, allocations: 172.2 kB / 1.037 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.275, allocations: 0.6768 MB / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.017e-05/0.275, allocations: 15.91 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2751, allocations: 11.44 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2751, allocations: 4 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.003448/0.2785, allocations: 1.515 MB / 1.039 GB, free: 5.418 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 gbode -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