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.001204/0.001204, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001151/0.001151, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.197/1.197, 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.202/2.202, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 67.86 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2588, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00141/0.2602, allocations: 0.5439 MB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2615, allocations: 1.206 MB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.018e-05/0.2616, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.2616, allocations: 11.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.2616, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2621, allocations: 275.3 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2622, allocations: 79.92 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.035e-05/0.2623, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.2623, allocations: 39.89 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.2624, allocations: 39.91 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2624, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.2627, allocations: 211.5 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2627, allocations: 8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.2628, allocations: 27.86 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.263, allocations: 255.5 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.263, allocations: 3.984 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.894e-06/0.263, allocations: 4 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.485e-06/0.263, allocations: 0 / 1.029 GB, free: 15.35 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.0002912/0.2633, allocations: 441 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.288e-05/0.2634, allocations: 12.03 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.2634, allocations: 84.22 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2635, allocations: 255.6 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.2636, allocations: 154.9 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.2637, allocations: 154.9 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.255e-05/0.2637, allocations: 109 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2637, allocations: 75.28 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.2638, allocations: 154.6 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.2638, allocations: 158.5 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.2639, allocations: 150.6 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.2641, allocations: 465.9 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.2642, allocations: 185 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.2642, allocations: 80.14 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2642, allocations: 79.22 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.2643, allocations: 109.8 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.2643, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.2644, allocations: 33.7 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2644, allocations: 134.6 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2645, allocations: 152.5 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2645, allocations: 25.7 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.2646, allocations: 92.05 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.2646, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.2647, allocations: 45.69 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.2648, allocations: 314.8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.2649, allocations: 63.94 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.2649, allocations: 63.95 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.2651, allocations: 90.52 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2651, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003199/0.2654, allocations: 231.2 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.2654, allocations: 49.67 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2654, allocations: 8 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.2655, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.2655, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.2655, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2657, allocations: 19.89 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.2657, allocations: 20.05 kB / 1.033 GB, free: 11.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: 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 9.335e-05/0.2658, allocations: 201 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.2659, allocations: 112.8 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.2659, allocations: 112.5 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-05/0.266, allocations: 184.3 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/0.2661, allocations: 184.2 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-05/0.2661, allocations: 184.2 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2663, allocations: 413.3 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.2663, allocations: 104.9 kB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.2664, allocations: 108.9 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.833e-05/0.2664, allocations: 184.2 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.2665, allocations: 184.2 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.838e-05/0.2665, allocations: 180.3 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.151e-05/0.2666, allocations: 184.2 kB / 1.035 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2667, allocations: 307.7 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2668, allocations: 190 kB / 1.036 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.2668, allocations: 180.3 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.2669, allocations: 104.9 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2669, allocations: 184.2 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.267, allocations: 108.9 kB / 1.036 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.267, allocations: 107.2 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.267, allocations: 0 / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003026/0.2674, allocations: 71.98 kB / 1.037 GB, free: 7.426 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.0005146/0.2679, allocations: 391.9 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.2681, allocations: 211.3 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2681, allocations: 0 / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.2681, allocations: 0 / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2684, allocations: 463.7 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.2686, allocations: 240.2 kB / 1.038 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.2688, allocations: 0.6807 MB / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.2689, allocations: 51.86 kB / 1.039 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-06/0.2689, allocations: 7.438 kB / 1.039 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2689, allocations: 0 / 1.039 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of Templates: time 0.004327/0.2732, allocations: 2.596 MB / 1.041 GB, free: 2.82 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 cvode -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