Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 103.9 kB / 16.37 MB, free: 5.547 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.001218/0.001218, allocations: 194.6 kB / 17.31 MB, free: 5.184 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 72.36 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001729/0.2701, allocations: 0.5633 MB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2716, allocations: 1.198 MB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.2716, allocations: 0 / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.205e-05/0.2717, allocations: 0 / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.2717, allocations: 3.938 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.2723, allocations: 287.2 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2725, allocations: 79.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.2725, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2726, allocations: 35.92 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.2727, allocations: 43.89 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.2727, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.273, allocations: 211.6 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2731, allocations: 4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.2731, allocations: 35.84 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.2735, allocations: 251.5 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2735, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2735, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2735, allocations: 0 / 1.029 GB, free: 15.38 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.000383/0.2739, allocations: 445 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2739, allocations: 12.02 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.274, allocations: 88.22 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2741, allocations: 251.6 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.2742, allocations: 154.9 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.2743, allocations: 158.9 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.331e-05/0.2743, allocations: 109 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2744, allocations: 75.28 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2744, allocations: 158.5 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.2745, allocations: 150.6 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.2745, allocations: 150.6 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2748, allocations: 469.9 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.2749, allocations: 181 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.2749, allocations: 80.14 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.275, allocations: 75.28 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.275, allocations: 113.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.275, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.367e-05/0.2751, allocations: 37.69 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2752, allocations: 130.7 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2753, allocations: 144.5 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2753, allocations: 29.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.2754, allocations: 104 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2754, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.2755, allocations: 41.7 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2756, allocations: 318.8 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2757, allocations: 55.95 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.2758, allocations: 67.94 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2759, allocations: 94.52 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.276, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000359/0.2763, allocations: 231.1 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.2764, allocations: 41.69 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2764, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2764, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.337e-06/0.2764, allocations: 4.062 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2764, allocations: 7.938 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.2767, allocations: 31.94 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.2767, allocations: 15.98 kB / 1.033 GB, free: 11.18 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001092/0.2768, allocations: 197 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.2769, allocations: 116.8 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.277, allocations: 108.5 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/0.277, allocations: 188.2 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-05/0.2771, allocations: 180.3 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/0.2772, allocations: 184.2 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2774, allocations: 417.3 kB / 1.035 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.2774, allocations: 101 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.2775, allocations: 108.9 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.637e-05/0.2775, allocations: 180.3 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.2776, allocations: 188.2 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.301e-05/0.2777, allocations: 176.3 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-05/0.2777, allocations: 184.2 kB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2778, allocations: 303.7 kB / 1.036 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.2779, allocations: 194 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.278, allocations: 184.3 kB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.2781, allocations: 104.9 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2781, allocations: 176.3 kB / 1.036 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.2782, allocations: 101 kB / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.319e-05/0.2782, allocations: 107.2 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2782, allocations: 4 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003339/0.2786, allocations: 67.98 kB / 1.037 GB, free: 7.457 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.0006345/0.2792, allocations: 411.2 kB / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.2795, allocations: 215.3 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2795, allocations: 3.938 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.2795, allocations: 0 / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2799, allocations: 463.8 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.2802, allocations: 232.2 kB / 1.038 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2804, allocations: 0.6807 MB / 1.039 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.2805, allocations: 47.81 kB / 1.039 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.2805, allocations: 11.44 kB / 1.039 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2805, allocations: 0 / 1.039 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.004908/0.2854, allocations: 2.6 MB / 1.041 GB, free: 2.832 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches